File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
env :
10
10
TERRAFORM_DOCS_VERSION : v0.16.0
11
+ TFLINT_VERSION : v0.44.1
11
12
12
13
jobs :
13
14
collectInputs :
46
47
uses :
clowdhaus/terraform-composite-actions/[email protected]
47
48
with :
48
49
terraform-version : ${{ steps.minMax.outputs.minVersion }}
50
+ tflint-version : ${{ env.TFLINT_VERSION }}
49
51
args : ' terraform_validate --color=always --show-diff-on-failure --files ${{ matrix.directory }}/*'
50
52
51
53
- name : Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
54
56
uses :
clowdhaus/terraform-composite-actions/[email protected]
55
57
with :
56
58
terraform-version : ${{ steps.minMax.outputs.minVersion }}
59
+ tflint-version : ${{ env.TFLINT_VERSION }}
57
60
args : ' terraform_validate --color=always --show-diff-on-failure --files $(ls *.tf)'
58
61
59
62
preCommitMaxVersion :
75
78
uses :
clowdhaus/terraform-composite-actions/[email protected]
76
79
with :
77
80
terraform-version : ${{ steps.minMax.outputs.maxVersion }}
81
+ tflint-version : ${{ env.TFLINT_VERSION }}
78
82
terraform-docs-version : ${{ env.TERRAFORM_DOCS_VERSION }}
79
83
install-hcledit : true
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ module "db_instance" {
93
93
vpc_security_group_ids = var. vpc_security_group_ids
94
94
db_subnet_group_name = local. db_subnet_group_name
95
95
parameter_group_name = local. parameter_group_name_id
96
- option_group_name = local. option_group
96
+ option_group_name = var . engine != " postgres " ? local. option_group : null
97
97
network_type = var. network_type
98
98
99
99
availability_zone = var. availability_zone
You can’t perform that action at this time.
0 commit comments