Manages a Service Catalog Tag Option Resource Association.
resource "aws_servicecatalog_tag_option_resource_association" "example" {
resource_id = "prod-dnigbtea24ste"
tag_option_id = "tag-pjtvyakdlyo3m"
}
The following arguments are required:
resource_id
- (Required) Resource identifier.tag_option_id
- (Required) Tag Option identifier.This resource exports the following attributes in addition to the arguments above:
id
- Identifier of the association.resource_arn
- ARN of the resource.resource_created_time
- Creation time of the resource.resource_description
- Description of the resource.resource_name
- Description of the resource.create
- (Default 3m
)read
- (Default 10m
)delete
- (Default 3m
)In Terraform v1.5.0 and later, use an import
block to import aws_servicecatalog_tag_option_resource_association
using the tag option ID and resource ID. For example:
import {
to = aws_servicecatalog_tag_option_resource_association.example
id = "tag-pjtvyakdlyo3m:prod-dnigbtea24ste"
}
Using terraform import
, import aws_servicecatalog_tag_option_resource_association
using the tag option ID and resource ID. For example:
% terraform import aws_servicecatalog_tag_option_resource_association.example tag-pjtvyakdlyo3m:prod-dnigbtea24ste