Skip to content

Instantly share code, notes, and snippets.

@mariux
Created February 14, 2020 16:16
Show Gist options
  • Save mariux/c3c34e50a5f2b46cd7e3110be2034ac7 to your computer and use it in GitHub Desktop.
Save mariux/c3c34e50a5f2b46cd7e3110be2034ac7 to your computer and use it in GitHub Desktop.
example route53
module "domains" {
source = "mineiros-io/route53/aws"
version = "0.0.1"
name = [
"mineiros.com",
"mineiros.de",
"mineiros.io",
]
}
module "mineiros-io" {
source = "mineiros-io/route53/aws"
version = "0.0.1"
zone_id = module.domains.zones["mineiros.io"].zone_id
records = [
.....
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment