Resource: aws_servicecatalog_product_portfolio_association

Manages a Service Catalog Product Portfolio Association.

Example Usage

Basic Usage

resource "aws_servicecatalog_product_portfolio_association" "example" {
  portfolio_id = "port-68656c6c6f"
  product_id   = "prod-dnigbtea24ste"
}

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:

Configuration options:

Import

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