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 1acee34 commit acf9538Copy full SHA for acf9538
.github/workflows/setup-runner.yml
@@ -27,19 +27,10 @@ jobs:
27
- name: Terraform Init
28
run: terraform init
29
30
- # Plan Terraform changes
31
- - name: Terraform Plan
32
- run: terraform plan -out=tfplan
33
-
34
# Apply Terraform changes
35
- name: Terraform Apply
36
if: github.ref == 'refs/heads/main'
37
- run: terraform apply -auto-approve tfplan
38
39
- # Destroy infrastructure (optional step, typically used for PRs)
40
- - name: Terraform Destroy
41
- if: github.event_name == 'pull_request' && github.event.action == 'closed'
42
- run: terraform destroy -auto-approve
+ run: terraform apply -auto-approve
43
44
# Securely pass variables for sensitive information
45
- name: Set Environment Variables
0 commit comments