From cf09458164c71bff94f9f6d7ba85ed6024605843 Mon Sep 17 00:00:00 2001 From: villadalmine Date: Tue, 15 Nov 2016 21:03:02 +0100 Subject: [PATCH] Update perms.sh --- bin/perms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/perms.sh b/bin/perms.sh index c764a8c..26e6852 100755 --- a/bin/perms.sh +++ b/bin/perms.sh @@ -13,7 +13,7 @@ echo "(https://s3-us-west-1.amazonaws.com/$bucket/$ova_key)" echo $(md5sum builds/$ova_key) ami_id=$(aws ec2 describe-images --owners $aws_acct_id --query 'reverse(sort_by(Images[?starts_with(Name, `import-ami`)], &CreationDate))[0].[ImageId]' --output text | tr -d '\n' ) -echo "Publishing $ami_id to $aws_acct_id" +echo "Publishing $ami_id to all accounts" ami_image_description=$(aws ec2 describe-images --image-ids $ami_id --query 'Images[0].{Description:Tags[0].Value}') echo $ami_image_description