Skip to content

Instantly share code, notes, and snippets.

@jsywulak
Created November 22, 2017 13:36
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 jsywulak/6342612d65ff53bda3d84c166677f383 to your computer and use it in GitHub Desktop.
Save jsywulak/6342612d65ff53bda3d84c166677f383 to your computer and use it in GitHub Desktop.
custom_function_arn=$(aws cloudformation describe-stacks --stack-name $create_stack --query Stacks[*].Outputs[?OutputKey==\'CustomFunctionArn\'].OutputValue --output text) 
aws cloudformation create-stack \ 
... 
--parameters \
ParameterKey="CustomFunctionArn",ParameterValue="$custom_function_arn" 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment