Resource: aws_route53recoverycontrolconfig_routing_control

Provides an AWS Route 53 Recovery Control Config Routing Control.

Example Usage

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"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

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