Resource: aws_cloudcontrolapi_resource

Manages a Cloud Control API Resource. The configuration and lifecycle handling of these resources is proxied through Cloud Control API handlers to the backend service.

Example Usage

resource "aws_cloudcontrolapi_resource" "example" {
  type_name = "AWS::ECS::Cluster"

  desired_state = jsonencode({
    ClusterName = "example"
    Tags = [
      {
        Key   = "CostCenter"
        Value = "IT"
      }
    ]
  })
}

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: