File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ jobs:
6969
7070 - name : Terraform Plan
7171 if : github.event.inputs.destroy != 'true'
72- run : terraform plan -var-file=${{ github.event.inputs.environment || 'production' }} .tfvars
72+ run : terraform plan -var-file=terraform .tfvars
7373
7474 - name : Terraform Apply
7575 if : github.event.inputs.destroy != 'true'
76- run : terraform apply -var-file=${{ github.event.inputs.environment || 'production' }} .tfvars -auto-approve
76+ run : terraform apply -var-file=terraform .tfvars -auto-approve
7777
7878 - name : Terraform Destroy
7979 if : github.event.inputs.destroy == 'true'
80- run : terraform destroy -var-file=${{ github.event.inputs.environment || 'production' }} .tfvars -auto-approve
80+ run : terraform destroy -var-file=terraform .tfvars -auto-approve
8181
8282 - name : Get Outputs
8383 if : github.event.inputs.destroy != 'true'
Original file line number Diff line number Diff line change 5151 run : terraform validate
5252
5353 - name : Terraform Plan
54- run : terraform plan -var-file=staging .tfvars -no-color
54+ run : terraform plan -var-file=terraform .tfvars -no-color
5555
5656 validate-production :
5757 name : Validate Production
8787 run : terraform validate
8888
8989 - name : Terraform Plan
90- run : terraform plan -var-file=production .tfvars -no-color
90+ run : terraform plan -var-file=terraform .tfvars -no-color
You can’t perform that action at this time.
0 commit comments