Last active
February 14, 2020 15:30
-
-
Save PaulDuvall/aeb9f314a6a7cacc4c89d2a194e9562e to your computer and use it in GitHub Desktop.
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
cd ~/environment | |
aws s3 mb s3://ceoa-3-$(aws sts get-caller-identity --output text --query 'Account') | |
git clone https://github.com/PaulDuvall/aws-encryption-workshop.git | |
cd aws-encryption-workshop/lesson3-develop | |
zip ceoa-3-examples.zip *.* | |
aws s3 sync /home/ec2-user/environment/aws-encryption-workshop/lesson3-develop s3://ceoa-3-$(aws sts get-caller-identity --output text --query 'Account') | |
aws cloudformation create-stack --stack-name rds-secrets-rotation --disable-rollback --template-body file:///home/ec2-user/environment/aws-encryption-workshop/lesson3-develop/ceoa-3-rotation-1-pipeline.yml --parameters ParameterKey=EmailAddress,ParameterValue=fake-email@fake-fake-fake-email.com ParameterKey=CodeCommitS3Bucket,ParameterValue=ceoa-3-$(aws sts get-caller-identity --output text --query 'Account') ParameterKey=CodeCommitS3Key,ParameterValue=ceoa-3-examples.zip --capabilities CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --disable-rollback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment