Configuration in this directory creates Route53 zones and records for various types of resources - S3 bucket, CloudFront distribution, static records.
Also, there is a solution for Terragrunt users.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 0.13.1 |
aws | >= 2.49 |
Name | Version |
---|---|
aws | >= 2.49 |
Name | Source | Version |
---|---|---|
cloudfront | terraform-aws-modules/cloudfront/aws | n/a |
delegation_sets | ../../modules/delegation-sets | n/a |
disabled_records | ../../modules/records | n/a |
records | ../../modules/records | n/a |
records_with_full_names | ../../modules/records | n/a |
resolver_rule_associations | ../../modules/resolver-rule-associations | n/a |
s3_bucket | terraform-aws-modules/s3-bucket/aws | n/a |
terragrunt | ../../modules/records | n/a |
vpc1 | terraform-aws-modules/vpc/aws | n/a |
vpc2 | terraform-aws-modules/vpc/aws | n/a |
zones | ../../modules/zones | n/a |
Name | Type |
---|---|
aws_route53_health_check.failover | resource |
aws_route53_resolver_rule.sys | resource |
No inputs.
Name | Description |
---|---|
route53_delegation_set_id | ID of Route53 delegation set |
route53_delegation_set_name_servers | Name servers in the Route53 delegation set |
route53_record_fqdn | FQDN built using the zone domain and name |
route53_record_name | The name of the record |
route53_resolver_rule_association_id | ID of Route53 Resolver rule associations |
route53_resolver_rule_association_name | Name of Route53 Resolver rule associations |
route53_resolver_rule_association_resolver_rule_id | ID of Route53 Resolver rule associations resolver rule |
route53_zone_name | Name of Route53 zone |
route53_zone_name_servers | Name servers of Route53 zone |
route53_zone_zone_id | Zone ID of Route53 zone |