Skip to content

Commit

Permalink
fix: use correct variable with route53-cluster-hostname (#83)
Browse files Browse the repository at this point in the history
* fix: use correct variable with route53-cluster-hostname

* fix: use correct variable with route53-cluster-hostname
  • Loading branch information
syphernl authored Dec 21, 2020
1 parent 9f48aaa commit 155a316
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ resource "aws_security_group_rule" "egress" {
}

module "dns_host_name" {
source = "cloudposse/route53-cluster-hostname/aws"
version = "0.8.0"
enabled = length(var.dns_zone_id) > 0 && module.this.enabled
name = var.host_name
zone_id = var.dns_zone_id
records = coalescelist(aws_db_instance.default.*.address, [""])
context = module.this.context
source = "cloudposse/route53-cluster-hostname/aws"
version = "0.8.0"
enabled = length(var.dns_zone_id) > 0 && module.this.enabled
dns_name = var.host_name
zone_id = var.dns_zone_id
records = coalescelist(aws_db_instance.default.*.address, [""])
context = module.this.context
}

0 comments on commit 155a316

Please sign in to comment.