Skip to content

Commit 6d7d59b

Browse files
committed
fix: remove default variable
1 parent 3392557 commit 6d7d59b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

_example/generate-certificate-dns/example.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@ module "acm" {
1212
environment = "test"
1313

1414
domain_name = "clouddrove.com"
15-
subject_alternative_names = ["www.clouddrove.com"]
16-
validation_method = "DNS"
17-
enable_dns_validation = false
15+
subject_alternative_names = ["*.${var.domain}", "www.${var.domain}"]
1816
}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ variable "subject_alternative_names" {
4646

4747
variable "validation_method" {
4848
type = string
49-
default = ""
49+
default = "DNS"
5050
description = "Which method to use for validation, DNS or EMAIL."
5151
}
5252

0 commit comments

Comments
 (0)