Created
March 13, 2015 01:05
-
-
Save vpack/1f315a74ac1e0ac68a8e to your computer and use it in GitHub Desktop.
Update Expiry Date Tag
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 --profile lab --region us-east-1 ec2 create-tags --tags Key=ExpirationDate,Value=$(date +%Y-%m-%d -d '+ 30 day' ) --resources i-c8efc8e6 i-aa5a8581 i-4e56cc1e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment