Skip to content

Commit 531e714

Browse files
authored
change custom domain acm creation condition (#27)
1 parent c70c1a6 commit 531e714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/custom_domain/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ resource "aws_api_gateway_base_path_mapping" "mapping" {
3636
}
3737

3838
resource "aws_acm_certificate" "cert" {
39-
count = var.create_acm_cert && var.cert_arn == "" ? 1 : 0
39+
count = var.create_acm_cert ? 1 : 0
4040

4141
domain_name = var.domain_name
4242
validation_method = "DNS"

0 commit comments

Comments
 (0)