hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.77k stars 9.12k forks source link

[Enhancement]: Tag support for route53recoverycontrolconfig Resources #39573

Open rvonkeys opened 4 days ago

rvonkeys commented 4 days ago

Description

Hi, this enhancement adds support for tags to the the aws_route53recoverycontrolconfig_cluster, aws_route53recoverycontrolconfig_control_panel, aws_route53recoverycontrolconfig_safety_rule resources.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_route53recoverycontrolconfig_cluster" "example_cluster" {
  name = "example_cluster"

  tags = {
    "tagkey": "tagvalue"
  }
}

resource "aws_route53recoverycontrolconfig_control_panel" "example_control_panel" {
  name        = "example_control_panel"
  cluster_arm = aws_route53recoverycontrolconfig_cluster.example_cluster.arn

  tags = {
    "tagkey": "tagvalue"
  }
}

resource "aws_route53recoverycontrolconfig_safety_rule" "example_safety_rule" {
  name = "example_safety_rule"
  control_panel_arn = aws_route53recoverycontrolconfig_control_panel.example_control_panel.arn
  wait_period_ms    = 5000
  rule_config {
    inverted  = false
    threshold = 1
    type      = "ATLEAST"
  }

  tags = {
    "tagkey": "tagvalue"
  } 
}

References

AWS API References:

Would you like to implement a fix?

No

github-actions[bot] commented 4 days ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue