File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ Available targets:
115
115
| tags | Additional tags (_ e.g._ map("BusinessUnit","ABC") | map | ` <map> ` | no |
116
116
| transit_encryption_enabled | Enable TLS | string | ` true ` | no |
117
117
| vpc_id | AWS VPC id | string | ` REQUIRED ` | no |
118
- | zone_id | Route53 DNS Zone id | string | ` false ` | no |
118
+ | zone_id | Route53 DNS Zone id | string | `` | no |
119
119
120
120
## Outputs
121
121
Original file line number Diff line number Diff line change 30
30
| tags | Additional tags (_ e.g._ map("BusinessUnit","ABC") | map | ` <map> ` | no |
31
31
| transit_encryption_enabled | Enable TLS | string | ` true ` | no |
32
32
| vpc_id | AWS VPC id | string | ` REQUIRED ` | no |
33
- | zone_id | Route53 DNS Zone id | string | ` false ` | no |
33
+ | zone_id | Route53 DNS Zone id | string | `` | no |
34
34
35
35
## Outputs
36
36
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ resource "aws_cloudwatch_metric_alarm" "cache_memory" {
118
118
119
119
module "dns" {
120
120
source = " git::https://github.com/cloudposse/terraform-aws-route53-cluster-hostname.git?ref=tags/0.2.1"
121
- enabled = " ${ var . enabled == " true" && var . zone_id != " false" } "
121
+ enabled = " ${ var . enabled == " true" && length ( var. zone_id ) > 0 ? " true " : " false" } "
122
122
namespace = " ${ var . namespace } "
123
123
name = " ${ var . name } "
124
124
stage = " ${ var . stage } "
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ variable "availability_zones" {
120
120
}
121
121
122
122
variable "zone_id" {
123
- default = " false "
123
+ default = " "
124
124
description = " Route53 DNS Zone id"
125
125
}
126
126
You can’t perform that action at this time.
0 commit comments