Skip to content

Commit

Permalink
ER: App version in Terraform Plan
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-sidhu-and committed Dec 6, 2023
1 parent 621176f commit 38830d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tf-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
WEB_SECRETS: ${{ toJSON(secrets) }}
WEB_VARS: ${{ toJSON(vars) }}
run: |
jq '${{ env.WEB_VARS }} += { "webapp_docker_image_tag": "${{ inputs.version }}" }'
printf '%s\n' "$WEB_SECRETS" > tmp-secrets.json
printf '%s\n' "$WEB_VARS" > tmp-vars.json
jq 'with_entries(.key |= ascii_downcase)' tmp-secrets.json > web-secrets.auto.tfvars.json
Expand Down

0 comments on commit 38830d6

Please sign in to comment.