I would like to be able to use the Community::Support::SupportLevel resource provider to set all accounts in my org's support level, but if your organization includes more than a handful of accounts then you will run into CREATE_FAILED errors like the following:

Note that this is the org master account, and previous support cases succeeded before this one hit. Looks like it could use some retry with backoff logic here
|
throw new exceptions.InvalidRequest(`Account does not seem to be the master account of an AWS Organization.\n${err}`); |
Additional Context:
The task I am looking to be able to run is the following.
AWSTemplateFormatVersion: "2010-09-09-OC"
OrganizationBindings:
ManagementBinding:
Account: !Ref MasterAccount
IncludeMasterAccount: true
SupportBinding:
Account: "*"
Resources:
SupportLevel:
Type: Community::Support::SupportLevel
OrganizationBinding: !Ref ManagementBinding
ForeachAccount: !Ref SupportBinding
Properties:
AccountId: !Sub "${CurrentAccount.AccountId}"
SupportLevel: 'enterprise'
I would like to be able to use the
Community::Support::SupportLevelresource provider to set all accounts in my org's support level, but if your organization includes more than a handful of accounts then you will run into CREATE_FAILED errors like the following:Note that this is the org master account, and previous support cases succeeded before this one hit. Looks like it could use some retry with backoff logic here
aws-resource-providers/support/support-level/src/handlers.ts
Line 35 in 8f4afe2
Additional Context:
The task I am looking to be able to run is the following.