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

AppScaling policy DescribeScalingPolices FailedResourceAccessException due to throttling #1428

Closed
s-maj opened this issue Aug 16, 2017 · 1 comment
Labels
bug Addresses a defect in current functionality.

Comments

@s-maj
Copy link
Contributor

s-maj commented Aug 16, 2017

When Terraform is refreshing AWS resources (during plan or apply) and there is a lot of aws_appautoscaling_policy with tons of Cloudwatch alarms, describe on aws_appautoscaling_policy might return FailedResourceAccessException, which is not retried by AWS SDK. According to AWS guys (see references), it's up to the client to decide if it should retry on this error. It's a very similar case to Kinesis throttling (see references) issue that was solved a while ago.

Terraform Version

0.9.11 and 0.10.0

Affected Resource(s)

  • aws_appautoscaling_policy

Debug Output

FailedResourceAccessException: Unable to retrieve alarms for scaling policy $policy_arn due to reason: Rate exceeded (Service: AmazonCloudWatch; Status Code: 400; Error Code: Throttling; Request ID: ce1253eb-81e9-11e7-ba0a-dd79b677bd46)

Expected Behavior

Terraform should retry on the error

Actual Behavior

Terraform exits on the error

References

@Ninir Ninir added the bug Addresses a defect in current functionality. label Aug 23, 2017
@Ninir Ninir closed this as completed Aug 30, 2017
@ghost
Copy link

ghost commented Apr 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
Development

No branches or pull requests

2 participants