After configuring multiple (+50) resources with Terraform ‘for_each’ ‘repeat statement’, a call is made to aws api when checking the configured resources for ‘update’ or ‘destroy’.
At this time, the API call is made too quickly and a ‘limits error’ occurs.
How can I solve this?
- Locals Block
User Name => ‘a’ ~ ‘z’ +50 - resource Block => for_each = local.resource Use
*Error
Error: reading WorkSpaces Workspace (xxx.xx): operation error WorkSpaces: DescribeWorkspaces, failed to get rate limit token, retry quota exceeded, 0 available, 5 requested