Resource: aws_route53recoveryreadiness_resource_set

Provides an AWS Route 53 Recovery Readiness Resource Set.

Example Usage

resource "aws_route53recoveryreadiness_resource_set" "example" {
  resource_set_name = my-cw-alarm-set
  resource_set_type = "AWS::CloudWatch::Alarm"

  resources {
    resource_arn = aws_cloudwatch_metric_alarm.example.arn
  }
}

Argument Reference

This resource supports the following arguments:

The following arguments are optional:

resources

dns_target_resource

target_resource

nlb_resource

r53_resource

Attribute Reference

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

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import Route53 Recovery Readiness resource set name using the resource set name. For example:

import {
  to = aws_route53recoveryreadiness_resource_set.my-cw-alarm-set
  id = "example"
}

Using terraform import, import Route53 Recovery Readiness resource set name using the resource set name. For example:

% terraform import aws_route53recoveryreadiness_resource_set.my-cw-alarm-set example