Skip to content

Commit

Permalink
Fix aws provider issue (#582)
Browse files Browse the repository at this point in the history
* added terragrunt init -upgrade

* added terragrunt init -upgrade
  • Loading branch information
jdbass authored Jul 25, 2024
1 parent 506b607 commit 14c2c9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ jobs:
id: output-bucket-name
working-directory: ./tofu/environments/prod/services/frontend-infra
run: |
terragrunt init -upgrade
output=$(terragrunt output bucket_name | tr -d '"')
echo bucket=$output >> $GITHUB_OUTPUT
- name: output-cloudfront-distro
id: output-cloudfront-distro
working-directory: ./tofu/environments/prod/services/frontend-infra
run: |
terragrunt init -upgrade
output=$(terragrunt output cloudfront_id)
echo cloudfront_id=$output >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ jobs:
id: get-frontend-resources
working-directory: ./tofu/environments/stage/services/frontend-infra
run: |
terragrunt init -upgrade
echo "bucket=$(terragrunt output bucket_name | tr -d '"')" >> $GITHUB_OUTPUT
echo "distribution=$(terragrunt output cloudfront_id)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 14c2c9b

Please sign in to comment.