aws_servicecatalog_portfolio_share concurrency and throttling issues #24729
Labels
bug
Addresses a defect in current functionality.
service/organizations
Issues and PRs that pertain to the organizations service.
service/servicecatalog
Issues and PRs that pertain to the servicecatalog service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/sbutler/a0c33af877aed4e5c9ac05d6658edeea
Expected Behavior
The portfolio should be shared to all the OU's.
Actual Behavior
One or more might be created, but some will get a ThrottlingException and not be shared.
Steps to Reproduce
terraform apply
Important Factoids
Although I could not find documentation, experimentation revealed:
CreatePortfolioShare
API call can succeed, but the laterDescribePortfolioShareStatus
call can return an error in theShareDetail.ShareErrors[*].Error
field. After adding some enhanced error logging I could see this wasThrottlingException
in my example.The text was updated successfully, but these errors were encountered: