Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active January 2, 2020 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/88222d048bb4803505a43e9053af1a11 to your computer and use it in GitHub Desktop.
Save garystafford/88222d048bb4803505a43e9053af1a11 to your computer and use it in GitHub Desktop.
# *** CHANGE ME ***
BUCKET_SUFFIX="123456789012-us-east-1"
DATA_BUCKET="smart-hub-data-${BUCKET_SUFFIX}"
SCRIPT_BUCKET="smart-hub-scripts-${BUCKET_SUFFIX}"
LOG_BUCKET="smart-hub-logs-${BUCKET_SUFFIX}"
aws cloudformation create-stack \
--stack-name smart-hub-athena-glue-stack \
--template-body file://cloudformation/smart-hub-athena-glue.yml \
--parameters ParameterKey=DataBucketName,ParameterValue=${DATA_BUCKET} \
ParameterKey=ScriptBucketName,ParameterValue=${SCRIPT_BUCKET} \
ParameterKey=LogBucketName,ParameterValue=${LOG_BUCKET} \
--capabilities CAPABILITY_NAMED_IAM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment