Provides a Route 53 Resolver DNSSEC config resource.
resource "aws_vpc" "example" {
cidr_block = "10.0.0.0/16"
enable_dns_support = true
enable_dns_hostnames = true
}
resource "aws_route53_resolver_dnssec_config" "example" {
resource_id = aws_vpc.example.id
}
This resource supports the following arguments:
resource_id
- (Required) The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.This resource exports the following attributes in addition to the arguments above:
arn
- The ARN for a configuration for DNSSEC validation.id
- The ID for a configuration for DNSSEC validation.owner_id
- The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.validation_status
- The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING
, ENABLED
, DISABLING
and DISABLED
.In Terraform v1.5.0 and later, use an import
block to import Route 53 Resolver DNSSEC configs using the Route 53 Resolver DNSSEC config ID. For example:
import {
to = aws_route53_resolver_dnssec_config.example
id = "rdsc-be1866ecc1683e95"
}
Using terraform import
, import Route 53 Resolver DNSSEC configs using the Route 53 Resolver DNSSEC config ID. For example:
% terraform import aws_route53_resolver_dnssec_config.example rdsc-be1866ecc1683e95