Skip to content
Permalink
Browse files

Update perms.sh

  • Loading branch information
villadalmine
villadalmine committed Nov 15, 2016
1 parent 5a2a0ab commit b349944169ce2522ed24ab9af5157128c238f7cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/perms.sh
@@ -16,7 +16,7 @@ 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' ) 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 $aws_acct_id_plus" 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}') ami_image_description=$(aws ec2 describe-images --image-ids $ami_id --query 'Images[0].{Description:Tags[0].Value}')
echo $ami_image_description echo $ami_image_description

0 comments on commit b349944

Please sign in to comment.
You can’t perform that action at this time.