Terraform module to easily define consistent cluster domains on Route53
.
Define a cluster domain of foobar.example.com
using a custom naming convention for zone_name
.
The zone_name
variable is optional. It defaults to $${stage}.$${parent_zone_name}
.
module "domain" {
source = "git::https://github.com/cloudposse/terraform-aws-route53-cluster-zone.git?ref=master"
namespace = "example"
stage = "dev"
name = "cluster"
parent_zone_name = "example.com"
zone_name = "$${name}.$${stage}.$${parent_zone_name}"
}
Apache 2 License. See LICENSE
for full details.