Created
December 19, 2017 00:49
-
-
Save kessler/197646a4f458ee912902a0d0c53cac73 to your computer and use it in GitHub Desktop.
change ebs delete on termination behavior
This file contains 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-instance-attribute --profile [profile] --region [region] --instance-id [instanceid] --block-device-mappings "[{\"DeviceName\": \"/dev/sda1\",\"Ebs\":{\"DeleteOnTermination\":false}}]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment