Open bschaatsbergen opened 2 years ago
I think this needs to be prioritized a bit :). It is a missing piece which stops the terraform to automate the whole process. @bschaatsbergen do you have any update on this or any workarounds?
I'll happily work on it actually, I noticed the same 2 years ago! @adrianbahja01
Give me a week or two and it's finished 😎
Prior to implementing this I would like to finish some existing tech-debt (migrating to the v2 AWS SDK): https://github.com/hashicorp/terraform-provider-aws/pull/36009
Community Note
Description
To import a service catalog portfolio you'll need to make use of the AcceptPortfolioShare API from the Service Catalog. At the moment this is not supported through our Terraform AWS provider (from what I can see, please correct me if I'm wrong).
API Reference: https://docs.aws.amazon.com/servicecatalog/latest/dg/API_AcceptPortfolioShare.html#servicecatalog-AcceptPortfolioShare-request-PortfolioShareType
There's a CloudFormation resource available too which does not list the PortfolioShareType property, https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-acceptedportfolioshare.html any idea?
New or Affected Resource(s)
Potential Terraform Configuration
References