Skip to content

Latest commit

 

History

History
 
 

complete

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Route53 zones and records example

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.

Usage

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.

Requirements

Name Version
terraform >= 0.13.1
aws >= 2.49

Providers

Name Version
aws >= 2.49

Modules

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

Resources

Name Type
aws_route53_health_check.failover resource
aws_route53_resolver_rule.sys resource

Inputs

No inputs.

Outputs

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