AWS Route 53 Delegation Set

This page shows how to write Terraform for Route 53 Delegation Set and write them securely.

aws_route53_delegation_set (Terraform)

The Delegation Set in Route 53 can be configured in Terraform with the resource name aws_route53_delegation_set. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

route53_delegation_set.tf#L4
resource "aws_route53_delegation_set" "route53_delegation_set" {
  count = var.enable_route53_delegation_set ? 1 : 0

  reference_name = var.route53_delegation_set_reference_name

  lifecycle {
route53.tf#L1
resource "aws_route53_delegation_set" "main" {
  reference_name = "DynDNS"
}

resource "aws_route53_zone" "primary_route" {
  name              = var.domain

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides a Route53 Delegation Set resource.

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Route 53 Delegation Set?

AWS Route 53 Delegation Set is a resource for Route 53 of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Route 53 Delegation Set?

For Terraform, the asrkata/SebastianUA-terraform and mr-myself/terraform_ecs source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.