diff --git a/.github/workflows/apply-iac.yaml b/.github/workflows/apply-iac.yaml index 64a0ef0b8..14056124d 100644 --- a/.github/workflows/apply-iac.yaml +++ b/.github/workflows/apply-iac.yaml @@ -48,7 +48,7 @@ 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 @@ -56,7 +56,7 @@ jobs: - 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 @@ -64,7 +64,7 @@ jobs: - 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 @@ -72,7 +72,7 @@ jobs: - 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 @@ -80,7 +80,7 @@ jobs: - 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 diff --git a/.github/workflows/deploy-backend.yaml b/.github/workflows/deploy-backend.yaml index a2e3f8dce..d0c511d65 100644 --- a/.github/workflows/deploy-backend.yaml +++ b/.github/workflows/deploy-backend.yaml @@ -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 diff --git a/.github/workflows/verify-backend.yaml b/.github/workflows/verify-backend.yaml index e8f28488d..db05a4534 100644 --- a/.github/workflows/verify-backend.yaml +++ b/.github/workflows/verify-backend.yaml @@ -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}}' diff --git a/.github/workflows/verify-iac.yaml b/.github/workflows/verify-iac.yaml index fe1767803..3ac7fa3f1 100644 --- a/.github/workflows/verify-iac.yaml +++ b/.github/workflows/verify-iac.yaml @@ -49,7 +49,7 @@ jobs: working-directory: ./tofu/environments/${{inputs.environment}}/network/vpc continue-on-error: true run: | - terragrunt init + terragrunt init -upgrade terragrunt validate terragrunt plan @@ -57,7 +57,7 @@ jobs: working-directory: ./tofu/environments/${{inputs.environment}}/services/backend-infra continue-on-error: true run: | - terragrunt init + terragrunt init -upgrade terragrunt validate terragrunt plan @@ -65,7 +65,7 @@ jobs: working-directory: ./tofu/environments/${{inputs.environment}}/data-store/cache continue-on-error: true run: | - terragrunt init + terragrunt init -upgrade terragrunt validate terragrunt plan @@ -73,13 +73,13 @@ jobs: 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