Skip to content

Commit

Permalink
terragrunt upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 22, 2024
1 parent 4713276 commit bc658ca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/apply-iac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,39 +48,39 @@ jobs:
- name: vpc
working-directory: ./tofu/environments/${{inputs.environment}}/network/vpc
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: backend-infra
working-directory: ./tofu/environments/${{inputs.environment}}/services/backend-infra
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: cache
working-directory: ./tofu/environments/${{inputs.environment}}/data-store/cache
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: database
working-directory: ./tofu/environments/${{inputs.environment}}/data-store/database
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: frontend
working-directory: ./tofu/environments/${{inputs.environment}}/services/frontend
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -out tfplan
terragrunt apply tfplan
2 changes: 1 addition & 1 deletion .github/workflows/deploy-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: backend-service
working-directory: ./tofu/environments/${{inputs.environment}}/services/backend-service
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -var 'image=${{ steps.build-backend.outputs.image_backend }}' -out tfplan
terragrunt apply tfplan
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: backend-service
working-directory: ./tofu/environments/${{inputs.environment}}/services/backend-service
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan -var 'image=${{env.IMAGE}}'
10 changes: 5 additions & 5 deletions .github/workflows/verify-iac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,37 @@ jobs:
working-directory: ./tofu/environments/${{inputs.environment}}/network/vpc
continue-on-error: true
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan
- name: backend-infra
working-directory: ./tofu/environments/${{inputs.environment}}/services/backend-infra
continue-on-error: true
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan
- name: cache
working-directory: ./tofu/environments/${{inputs.environment}}/data-store/cache
continue-on-error: true
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan
- name: database
working-directory: ./tofu/environments/${{inputs.environment}}/data-store/database
continue-on-error: true
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan
- name: frontend
working-directory: ./tofu/environments/${{inputs.environment}}/services/frontend
run: |
terragrunt init
terragrunt init -upgrade
terragrunt validate
terragrunt plan

0 comments on commit bc658ca

Please sign in to comment.