terraform-aws-control_tower_account_factory icon indicating copy to clipboard operation
terraform-aws-control_tower_account_factory copied to clipboard

Make Invoke Concurrency configurable

Open jarrod-lowe opened this issue 2 years ago • 1 comments

Describe the outcome you'd like

The Invoke state machine will create 25 parrallel updates of accounts. This causes rate limit issues for me. I'd like to be able to set a module variable to set it to a lower number,

Is your feature request related to a problem you are currently experiencing? If so, please describe.

Running into API ratelimits in the aft-account-provisioning-framework state machine, due to running too many at once.

Additional context

Add any other context or screenshots about the feature request here.

jarrod-lowe avatar Jul 25 '22 23:07 jarrod-lowe

Hi @jarrod-lowe, thanks for providing this feedback.

I've created a backlog ticket to address the rate limiting issues when re-invoking a large number of customizations through the step function.

stumins avatar Jul 26 '22 20:07 stumins

Hi @jarrod-lowe,

AFT 1.7.0 optimized the API calls made by the aft-account-provisioning-framework step function to reduce throttling errors that occurred when customizing a large number of accounts.

Are you still any experiencing throttling issues when using AFT 1.7.0+?

stumins avatar May 08 '23 18:05 stumins

Yes, we do.

An error occurred (ThrottlingException) when calling the DescribeCases operation (reached max retries: 4): Throttle limit exceeded

echoAlexey avatar Aug 02 '23 13:08 echoAlexey

Hi @jarrod-lowe & @echoAlexey,

We just released AFT 1.10.4 with improved retry behavior to address these types of throttling issue.

Please upgrade to 1.10.4 and let us know if you continue to experience any throttling exceptions.

stumins avatar Aug 10 '23 23:08 stumins

We haven't received any reports of continued throttling, so I'm going to go close this issue as completed. Please feel free to open a new ticket if you continue to experience throttling issues on versions >= 1.10.4

stumins avatar Sep 05 '23 18:09 stumins