aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.11k stars 54 forks source link

Add support to the "AWS::ServiceCatalog::AcceptedPortfolioShare" resource for the "PortfolioShareType" property #1860

Open nelomsmn opened 9 months ago

nelomsmn commented 9 months ago

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

masso00 commented 8 months ago

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.