Provides an AWS Route 53 Recovery Control Config Routing Control.
resource "aws_route53recoverycontrolconfig_routing_control" "example" {
name = "tinlicker"
cluster_arn = "arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393"
}
resource "aws_route53recoverycontrolconfig_routing_control" "example" {
name = "thomasoliver"
cluster_arn = "arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393"
control_panel_arn = "arn:aws:route53-recovery-control::428113431245:controlpanel/abd5fbfc052d4844a082dbf400f61da8"
}
The following arguments are required:
cluster_arn
- (Required) ARN of the cluster in which this routing control will reside.name
- (Required) The name describing the routing control.The following arguments are optional:
control_panel_arn
- (Optional) ARN of the control panel in which this routing control will reside.This resource exports the following attributes in addition to the arguments above:
arn
- ARN of the routing control.status
- Status of routing control. PENDING
when it is being created/updated, PENDING_DELETION
when it is being deleted, and DEPLOYED
otherwise.In Terraform v1.5.0 and later, use an import
block to import Route53 Recovery Control Config Routing Control using the routing control arn. For example:
import {
to = aws_route53recoverycontrolconfig_routing_control.mycontrol
id = "arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8/routingcontrol/d5d90e587870494b"
}
Using terraform import
, import Route53 Recovery Control Config Routing Control using the routing control arn. For example:
% terraform import aws_route53recoverycontrolconfig_routing_control.mycontrol arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8/routingcontrol/d5d90e587870494b