Skip to content

Commit

Permalink
Fix bug with dns zone (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonMoon1919 authored and osterman committed Oct 10, 2018
1 parent e3e98ff commit d129bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ resource "aws_cloudwatch_metric_alarm" "cache_memory" {

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

0 comments on commit d129bdf

Please sign in to comment.