Skip to content

Instantly share code, notes, and snippets.

@allanchua101
Created August 24, 2020 09:30
Show Gist options
  • Save allanchua101/8d117e1f0106284ce37d785a1fba8853 to your computer and use it in GitHub Desktop.
Save allanchua101/8d117e1f0106284ce37d785a1fba8853 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Provide your variable values here
AWS_CF_STACK_NAME="testing-ninja-buckets-a";
ENVIRONMENT_NAME="dev";
AWS_CLI_PROFILE="ninja-boy";
aws cloudformation create-stack \
--stack-name "${AWS_CF_STACK_NAME}" \
--template-body file://tables.cfn.yaml \
--profile "${AWS_CLI_PROFILE}" \
--parameters ParameterKey=Environment,ParameterValue="$ENVIRONMENT_NAME" \
--capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM CAPABILITY_NAMED_IAM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment