Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to control AWS API retry setting on Terraformer? #1933

Open
southouse opened this issue Sep 30, 2024 · 1 comment
Open

How to control AWS API retry setting on Terraformer? #1933

southouse opened this issue Sep 30, 2024 · 1 comment

Comments

@southouse
Copy link

southouse commented Sep 30, 2024

I set parameter for terraformer command.
terraformer import aws --resources=alb --connect=true --regions=ap-northeast-2 --retry-number=10 --retry-sleep-ms=10000

But This command execute retry 3 times like below error log.

2024/09/30 16:38:54 operation error Elastic Load Balancing v2: DescribeListeners, exceeded maximum number of attempts, 3, https response error StatusCode: 400, RequestID: $RequestID-1, api error Throttling: Rate exceeded
2024/09/30 16:39:11 operation error Elastic Load Balancing v2: DescribeTargetHealth, exceeded maximum number of attempts, 3, https response error StatusCode: 400, RequestID: $RequestID-2, api error Throttling: Rate exceeded
2024/09/30 16:39:15 operation error Elastic Load Balancing v2: DescribeTargetHealth, exceeded maximum number of attempts, 3, https response error StatusCode: 400, RequestID: $RequestID-3, api error Throttling: Rate exceeded

I was tried to set aws configure and exporting environment variables.

But Still It called api 3 times.

How to control AWS API retry setting on Terraformer?
Plz Help me! Thanks.

@Shion1305
Copy link

I'm getting the same problem here... I want feature for rate limiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants