Created
April 5, 2017 18:16
-
-
Save viebig/2588e9ecfbbe5e718db14911b755545b to your computer and use it in GitHub Desktop.
Modify Spot Instance "Delete Volume on Termination" flag
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-instance-attribute --instance-id i-xxxxxxxxxxxxxxx --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