Skip to content

Commit 9777f65

Browse files
committed
add-multipal-doamin
1 parent 40dce2c commit 9777f65

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

.github/workflows/terraform.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,22 @@ jobs:
8181
with:
8282
actions_subcommand: 'plan'
8383
tf_actions_working_dir: ./_example/generate-certificate-email
84+
85+
pre-commit:
86+
name: 'Pre-Commit'
87+
needs:
88+
- fmt
89+
- plan
90+
- validate
91+
runs-on: ubuntu-latest
92+
steps:
93+
- name: 'Checkout'
94+
uses: actions/[email protected]
95+
96+
- name: 'Install Tflint'
97+
run: |
98+
curl https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
99+
100+
- name: 'Pre-Commit 🔎'
101+
uses: pre-commit/[email protected]
102+
continue-on-error: true

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ repos:
55
hooks:
66
- id: terraform-fmt
77
- id: shellcheck
8+
- id: tflint
89

910
- repo: git://github.com/pre-commit/pre-commit-hooks
1011
rev: v3.4.0 # Use the ref you want to point at

_example/generate-certificate-dns/example.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ module "acm" {
99
environment = "test"
1010
label_order = ["name", "environment"]
1111

12-
enable_aws_certificate = true
13-
domain_name = "clouddrove.com"
14-
validation_method = "DNS"
15-
enable_dns_validation = false
12+
enable_aws_certificate = true
13+
domain_name = "clouddrove.com"
14+
subject_alternative_names = ["www.clouddrove.com"]
15+
validation_method = "DNS"
16+
enable_dns_validation = false
1617
}

_example/generate-certificate-email/example.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ module "acm" {
99
environment = "test"
1010
label_order = ["name", "environment"]
1111

12-
validate_certificate = false
13-
domain_name = "clouddrove.com"
14-
validation_method = "EMAIL"
15-
enable_aws_certificate = true
12+
validate_certificate = false
13+
domain_name = "clouddrove.com"
14+
subject_alternative_names = ["www.clouddrove.com"]
15+
validation_method = "EMAIL"
16+
enable_aws_certificate = true
1617
}

0 commit comments

Comments
 (0)