Skip to content

Commit

Permalink
fix: run plan on change
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Aug 3, 2024
1 parent 41df39b commit 6c0afbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/infra-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
TF_API_TOKEN: "${{ secrets.TERRAFORM_API_TOKEN }}"
TF_CLOUD_ORGANIZATION: ${{ secrets.TERRAFORM_CLOUD_ORGANIZATION }}
TF_VAR_organization: "\"${{ secrets.TERRAFORM_CLOUD_ORGANIZATION }}\""
TF_WORKSPACE: 'snipcode-backend-compute-prod'
TF_WORKSPACE: 'snipcode-backend-storage-prod'

jobs:
terraform-plan:
Expand All @@ -23,8 +23,8 @@ jobs:
directory:
#- '_infra/credentials'
#- '_infra/global'
#- 'apps/backend/_infra/prod/storage'
- 'apps/backend/_infra/prod/compute'
- 'apps/backend/_infra/prod/storage'
#- 'apps/backend/_infra/prod/compute'

outputs:
infraChanged: ${{ steps.infra-changed.outputs.any_changed }}
Expand Down

0 comments on commit 6c0afbf

Please sign in to comment.