Skip to content

Instantly share code, notes, and snippets.

@housni
Created September 27, 2018 15:45
Show Gist options
  • Save housni/214d5c725d49bf46cc01bbfdbfe69295 to your computer and use it in GitHub Desktop.
Save housni/214d5c725d49bf46cc01bbfdbfe69295 to your computer and use it in GitHub Desktop.
$ aws cloudformation package \
--template-file app_spec.yml \
--output-template-file packaged.yml \
--s3-bucket MyRedirectorBucket
Successfully packaged artifacts and wrote output template to file packaged.yml.
Execute the following command to deploy the packaged template
aws cloudformation deploy --template-file /home/housni/modus-create/lambda-redirector/packaged.yml --stack-name <YOUR STACK NAME>
$ aws cloudformation deploy \
--template-file packaged.yml \
--stack-name Redirector \
--capabilities CAPABILITY_IAM \
--parameter-overrides \
NewDomain=http://moduscreate.com \
HTTPResponse=302
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment