Currently, it is not possible to accept Service Catalog portfolios shared on the Organizational level with CloudFormation. The "AWS::ServiceCatalog::AcceptedPortfolioShare"[1] resource type does not include any property to specify the method of sharing. Attempts to accept a portfolios shared at the Organizational level using this resource result in the following error: "Portfolio port-xxxxxxxxx not found."
In comparison, the "AcceptPortfolioShare" API allows users to accept portfolios that are shared at the Organizational level using the "PortfolioShareType" parameter[2].
Add me to the list of customers who would like this feature. Currently implemented using a Custom Resource but would be glad to have it supported natively.
Name of the resource
AWS::ServiceCatalog::AcceptedPortfolioShare
Description
Currently, it is not possible to accept Service Catalog portfolios shared on the Organizational level with CloudFormation. The "AWS::ServiceCatalog::AcceptedPortfolioShare"[1] resource type does not include any property to specify the method of sharing. Attempts to accept a portfolios shared at the Organizational level using this resource result in the following error: "Portfolio port-xxxxxxxxx not found."
In comparison, the "AcceptPortfolioShare" API allows users to accept portfolios that are shared at the Organizational level using the "PortfolioShareType" parameter[2].
References:
[1]https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-acceptedportfolioshare.html#aws-resource-servicecatalog-acceptedportfolioshare-syntax
[2]https://docs.aws.amazon.com/servicecatalog/latest/dg/API_AcceptPortfolioShare.html#servicecatalog-AcceptPortfolioShare-request-PortfolioShareType