Created
November 1, 2019 12:28
-
-
Save mbarton/b4b52badd30f3eb20b2aa4342b86a464 to your computer and use it in GitHub Desktop.
Remove delete on termination for CSV to ES
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 --instance-id <EC2_INSTANCE_ID> --block-device-mappings file://mapping.json --profile investigations --region eu-west-1 |
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
[ | |
{ | |
"DeviceName": "/dev/sda1", | |
"Ebs": { | |
"DeleteOnTermination": false, | |
"VolumeId": "<EBS_VOLUME_ID>" | |
} | |
}, | |
{ | |
"DeviceName": "/dev/xvda", | |
"Ebs": { | |
"DeleteOnTermination": false, | |
"VolumeId": "<EBS_VOLUME_ID>" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment