Skip to content

Commit d129bdf

Browse files
MoonMoon1919osterman
authored andcommitted
Fix bug with dns zone (cloudposse#25)
1 parent e3e98ff commit d129bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ resource "aws_cloudwatch_metric_alarm" "cache_memory" {
118118

119119
module "dns" {
120120
source = "git::https://github.com/cloudposse/terraform-aws-route53-cluster-hostname.git?ref=tags/0.2.1"
121-
enabled = "${var.enabled}"
121+
enabled = "${var.enabled == "true" && var.zone_id != "false"}"
122122
namespace = "${var.namespace}"
123123
name = "${var.name}"
124124
stage = "${var.stage}"

0 commit comments

Comments
 (0)