Skip to content

Commit 5713f50

Browse files
committed
conditionalize api_apigateway_url_custom
1 parent b97a361 commit 5713f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ output "api_apigateway_url" {
2929

3030
output "api_apigateway_url_custom" {
3131
# see https://discuss.hashicorp.com/t/terraform-outputs-with-count-index/32555
32-
value = "https://${one(aws_route53_record.api[*].fqdn)}"
32+
value = var.create_custom_domain ? "https://${one(aws_route53_record.api[*].fqdn)}" : "not implemented"
3333
}

0 commit comments

Comments
 (0)