Skip to content

Instantly share code, notes, and snippets.

@delpinoconsulting
Created July 29, 2019 17:03
Show Gist options
  • Save delpinoconsulting/60a3ae0b905dc8d5c4017da78bde76b6 to your computer and use it in GitHub Desktop.
Save delpinoconsulting/60a3ae0b905dc8d5c4017da78bde76b6 to your computer and use it in GitHub Desktop.
A script to copy AMI to another account
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