Add shell specification to Terraform plan steps
This commit is contained in:
@@ -87,8 +87,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
id: plan
|
id: plan
|
||||||
|
shell: sh {0}
|
||||||
run: |
|
run: |
|
||||||
set +e
|
|
||||||
terraform plan -input=false -no-color -detailed-exitcode -out=tfplan > plan_output.txt 2>&1
|
terraform plan -input=false -no-color -detailed-exitcode -out=tfplan > plan_output.txt 2>&1
|
||||||
EXITCODE=$?
|
EXITCODE=$?
|
||||||
cat plan_output.txt
|
cat plan_output.txt
|
||||||
|
|||||||
@@ -85,8 +85,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
id: plan
|
id: plan
|
||||||
|
shell: sh {0}
|
||||||
run: |
|
run: |
|
||||||
set +e
|
|
||||||
terraform plan -input=false -no-color -detailed-exitcode -out=tfplan > plan_output.txt 2>&1
|
terraform plan -input=false -no-color -detailed-exitcode -out=tfplan > plan_output.txt 2>&1
|
||||||
EXITCODE=$?
|
EXITCODE=$?
|
||||||
cat plan_output.txt
|
cat plan_output.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user