hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.76k stars 9.11k forks source link

EFS UpdateFileSystem should fail faster #14927

Open jrobison-sb opened 4 years ago

jrobison-sb commented 4 years ago

Community Note

Description

If you change the throughput mode for an aws_efs_filesystem between provisioned and bursting, the API requires that you wait at least 24 hours before you can change it back.

If you run an apply and try to change the throughput mode without waiting 24 hours, the API will return a TooManyRequests error.

Currently Terraform will keep retrying over and over, causing the apply to run for over an hour before finally erroring out. Instead, it should just accept this error, print it out, and abort the change. The error returned from the API gives the timestamp to the user for when they're allowed to attempt the change again.

New or Affected Resource(s)

Potential Terraform Configuration

No configuration change.

github-actions[bot] commented 2 years ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

jrobison-sb commented 2 years ago

.

github-actions[bot] commented 3 days ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!