Terraform module which creates Route53 resources.
There are independent submodules:
- zones - to manage Route53 zones
- records - to manage Route53 records
- delegation-sets - to manage Route53 delegation sets
- resolver-endpoints - to manage Route53 resolver endpoints
- resolver-rule-associations - to manage Route53 resolver rule associations
- zone-cross-account-vpc-association - to associate Route53 zones with VPCs from different AWS accounts
module "zones" {
source = "terraform-aws-modules/route53/aws//modules/zones"
version = "~> 3.0"
zones = {
"terraform-aws-modules-example.com" = {
comment = "terraform-aws-modules-examples.com (production)"
tags = {
env = "production"
}
}
"myapp.com" = {
comment = "myapp.com"
}
}
tags = {
ManagedBy = "Terraform"
}
}
module "records" {
source = "terraform-aws-modules/route53/aws//modules/records"
version = "~> 3.0"
zone_name = keys(module.zones.route53_zone_zone_id)[0]
records = [
{
name = "apigateway1"
type = "A"
alias = {
name = "d-10qxlbvagl.execute-api.eu-west-1.amazonaws.com"
zone_id = "ZLY8HYME6SFAD"
}
},
{
name = ""
type = "A"
ttl = 3600
records = [
"10.10.10.10",
]
},
]
depends_on = [module.zones]
}
- Complete Route53 zones and records example which shows how to create Route53 records of various types like S3 bucket and CloudFront distribution.
Module is maintained by Anton Babenko with help from these awesome contributors.
Apache 2 Licensed. See LICENSE for full details.
- Russia has illegally annexed Crimea in 2014 and brought the war in Donbas followed by full-scale invasion of Ukraine in 2022.
- Russia has brought sorrow and devastations to millions of Ukrainians, killed hundreds of innocent people, damaged thousands of buildings, and forced several million people to flee.
- Putin khuylo!