Provides an AWS Route 53 Recovery Control Config Cluster.
resource "aws_route53recoverycontrolconfig_cluster" "example" {
name = "georgefitzgerald"
}
The following arguments are required:
name
- (Required) Unique name describing the cluster.This resource exports the following attributes in addition to the arguments above:
arn
- ARN of the clustercluster_endpoints
- List of 5 endpoints in 5 regions that can be used to talk to the cluster. See below.status
- Status of cluster. PENDING
when it is being created, PENDING_DELETION
when it is being deleted and DEPLOYED
otherwise.endpoint
- Cluster endpoint.region
- Region of the endpoint.In Terraform v1.5.0 and later, use an import
block to import Route53 Recovery Control Config cluster using the cluster ARN. For example:
import {
to = aws_route53recoverycontrolconfig_cluster.mycluster
id = "arn:aws:route53-recovery-control::313517334327:cluster/f9ae13be-a11e-4ec7-8522-94a70468e6ea"
}
Using terraform import
, import Route53 Recovery Control Config cluster using the cluster ARN. For example:
% terraform import aws_route53recoverycontrolconfig_cluster.mycluster arn:aws:route53-recovery-control::313517334327:cluster/f9ae13be-a11e-4ec7-8522-94a70468e6ea