Skip to content

Commit

Permalink
fix: fetchin stack output
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonraid committed Nov 11, 2022
1 parent d18753f commit 7e058a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
STACK_OUTPUTS=$(aws cloudformation describe-stacks \
--stack-name ${{ inputs.stackName }} \
--output json \
--query 'Stacks[]' | jq -c '.[] | select(.Outputs != null) | .Outputs | map( { (.OutputKey|tostring): . } )[]')
--query 'Stacks[]' | jq -c '.[] | select(.Outputs != null) | .Outputs | map( { (.OutputKey|tostring): . } ) | add')
echo "stackOutputs=$STACK_OUTPUTS" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 7e058a5

Please sign in to comment.