We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f42c4 commit c837e8bCopy full SHA for c837e8b
.github/workflows/terraform.yml
@@ -53,15 +53,11 @@ jobs:
53
run: terraform plan
54
working-directory: ./Terraform
55
56
-
57
- terraform-apply:
58
- name: Terraform Apply
59
- needs: terraform
60
- runs-on: ubuntu-latest
61
- environment: production # <-- This triggers manual approval
62
- steps:
63
+ id: terraform-action
+ if: ${{ inputs.terraform-action == 'apply' || inputs.terraform-action == '' }}
64
run: terraform apply -auto-approve
+ working-directory: ./Terraform
65
66
- name: Get Terraform outputs
67
id: terraform-outputs
0 commit comments