Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think he did this because zone_id was previously set to false in a different PR.

https://github.com/cloudposse/terraform-aws-elasticache-redis/pull/13/files#diff-c9ac8098c5ea9d3e6a9a596ff0c512a4R107

Agree we should change this to our normal pattern.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's why I used this approach. Tonight I can remove the default value and submit a PR to address this. #26

namespace = "${var.namespace}"
name = "${var.name}"
stage = "${var.stage}"
Expand Down