hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.86k stars 9.21k forks source link

Counterpart of aws_servicecatalog_portfolio_share to accept shares to your account #21892

Closed pglagerweij closed 11 months ago

pglagerweij commented 3 years ago

Community Note

Description

Terraform currently supports a resource for a service_catalog_portfolio_share. In an organization this share is automatically accepted. There is currently no terraform resource to accept the share in the target account of the shared portfolio.

I suggest a new terraform resource aws_servicecatalog_accept_portfolio_share with the underlying AWS cli command accept-portfolio-share.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_servicecatalog_accept_portfolio_share" "example" {
  portfolio_id = aws_servicecatalog_portfolio.example.id
  portfolio_share_type = "IMPORTED"
  accept_language = "en"
}

References

Couldn't find a related issue.

github-actions[bot] commented 12 months ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

github-actions[bot] commented 10 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.