Created
July 29, 2019 17:03
-
-
Save delpinoconsulting/60a3ae0b905dc8d5c4017da78bde76b6 to your computer and use it in GitHub Desktop.
A script to copy AMI to another account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 modify-image-attribute --image-id ami-0abcdef1234567890 --launch-permission "Add=[{UserId=123456789012}]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment