Manages a Service Catalog Product Portfolio Association.
resource "aws_servicecatalog_product_portfolio_association" "example" {
portfolio_id = "port-68656c6c6f"
product_id = "prod-dnigbtea24ste"
}
The following arguments are required:
portfolio_id
- (Required) Portfolio identifier.product_id
- (Required) Product identifier.The following arguments are optional:
accept_language
- (Optional) Language code. Valid values: en
(English), jp
(Japanese), zh
(Chinese). Default value is en
.source_portfolio_id
- (Optional) Identifier of the source portfolio.This resource exports the following attributes in addition to the arguments above:
id
- Identifier of the association.create
- (Default 3m
)read
- (Default 10m
)delete
- (Default 3m
)In Terraform v1.5.0 and later, use an import
block to import aws_servicecatalog_product_portfolio_association
using the accept language, portfolio ID, and product ID. For example:
import {
to = aws_servicecatalog_product_portfolio_association.example
id = "en:port-68656c6c6f:prod-dnigbtea24ste"
}
Using terraform import
, import aws_servicecatalog_product_portfolio_association
using the accept language, portfolio ID, and product ID. For example:
% terraform import aws_servicecatalog_product_portfolio_association.example en:port-68656c6c6f:prod-dnigbtea24ste