AWS Service Catalog Product Portfolio Association
This page shows how to write Terraform and CloudFormation for AWS Service Catalog Product Portfolio Association and write them securely.
aws_servicecatalog_product_portfolio_association (Terraform)
The Product Portfolio Association in AWS Service Catalog can be configured in Terraform with the resource name aws_servicecatalog_product_portfolio_association
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_servicecatalog_product_portfolio_association" "prodportassoci" {
portfolio_id = aws_servicecatalog_portfolio.portfolio.id
product_id = aws_servicecatalog_product.example.id
}
resource "aws_servicecatalog_principal_portfolio_association" "prodprincassoci" {
Parameters
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 isen
.source_portfolio_id
- (Optional) Identifier of the source portfolio.
In addition to all arguments above, the following attributes are exported:
id
- Identifier of the association.
Explanation in Terraform Registry
Manages a Service Catalog Product Portfolio Association.
AWS::ServiceCatalog::PortfolioProductAssociation (CloudFormation)
The PortfolioProductAssociation in ServiceCatalog can be configured in CloudFormation with the resource name AWS::ServiceCatalog::PortfolioProductAssociation
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
SourcePortfolioId
optional - String -
AcceptLanguage
optional - String -
PortfolioId
required - String -
ProductId
required - String
Explanation in CloudFormation Registry
Associates the specified product with the specified portfolio.
A delegated admin is authorized to invoke this command.
Frequently asked questions
What is AWS Service Catalog Product Portfolio Association?
AWS Service Catalog Product Portfolio Association is a resource for Service Catalog of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Service Catalog Product Portfolio Association?
For Terraform, the seanremenyi/service_catalog source code example is useful. See the Terraform Example section for further details.