Skip to content

Commit 8d970a2

Browse files
committed
Update terraform action.yaml files
1 parent 7c2b407 commit 8d970a2

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/actions/terraform-apply/action.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ runs:
3535
uses: dflook/terraform-apply@v1
3636
with:
3737
path: ./terraform
38-
var_file:
39-
- ./terraform/stages/${{ inputs.stage }}.tfvars
40-
backend_config: |
38+
var_file: ./terraform/stages/${{ inputs.stage }}.tfvars
39+
backend_config: >
4140
bucket = ${{ inputs.tfstate-bucket }}
4241
key = ${{ inputs.tfstate-key }}
4342
region = ${{ inputs.aws-region }}

.github/actions/terraform-destroy/action.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ runs:
3535
uses: dflook/terraform-destroy@v1
3636
with:
3737
path: ./terraform
38-
var_file:
39-
- ./terraform/stages/${{ inputs.stage }}.tfvars
40-
backend_config: |
38+
var_file: ./terraform/stages/${{ inputs.stage }}.tfvars
39+
backend_config: >
4140
bucket = ${{ inputs.tfstate-bucket }}
4241
key = ${{ inputs.tfstate-key }}
4342
region = ${{ inputs.aws-region }}

.github/actions/terraform-plan/action.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ runs:
4242
uses: dflook/terraform-plan@v1
4343
with:
4444
path: ./terraform
45-
var_file:
46-
- ./terraform/stages/${{ inputs.stage }}.tfvars
47-
backend_config: |
45+
var_file: ./terraform/stages/${{ inputs.stage }}.tfvars
46+
backend_config: >
4847
bucket = ${{ inputs.tfstate-bucket }}
4948
key = ${{ inputs.tfstate-key }}
5049
region = ${{ inputs.aws-region }}

0 commit comments

Comments
 (0)