Skip to content

Commit

Permalink
change custom domain acm creation condition (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
hong-yi authored Nov 2, 2023
1 parent c70c1a6 commit 531e714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/custom_domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "aws_api_gateway_base_path_mapping" "mapping" {
}

resource "aws_acm_certificate" "cert" {
count = var.create_acm_cert && var.cert_arn == "" ? 1 : 0
count = var.create_acm_cert ? 1 : 0

domain_name = var.domain_name
validation_method = "DNS"
Expand Down

0 comments on commit 531e714

Please sign in to comment.