-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cloud storage bucket retries slowing state refreshes #10423
Cloud storage bucket retries slowing state refreshes #10423
Comments
Potentially related to #10287? |
@NicholasAzar can you share your config? |
Not much I can share publicly, it should just be reproducible with any new/moved bucket:
Logs indicate that it seems like the refresh state phase of the apply hits the 20 minute timeout to check for each bucket that's had a change.
We can also see that the
|
@NicholasAzar using your config , I can't repro the issue. Does it fail on the very same code? Can you share your debug log (export TF_LOG=DEBUG)? |
@NicholasAzar is this still an issue? |
@NicholasAzar closing this assuming it is no longer an issue |
Just for an update on this, while I haven't yet been able to work on a standalone reproduction case, we've found that this is an issue introduced in 3.89.0 that's not reproducible in 3.88.0. Vague steps are (in case they're helpful):
Hopefully I'll be able to work on some better reproduction steps in the near future. For now we're just pinning on 3.88.0 to meet a deadline. |
Yeah this is definitely reproducible with this standalone example: Define main.tf similar to this with the values filled in:
Commands:
|
@edwardmedia did you have a chance to take another look at this? |
Having this issue as well, tested both with @edwardmedia could we reopen this? |
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
v3.90.0_x5
Affected Resource(s)
terraform-google-modules/cloud-storage/google//modules/simple_bucket
Debug Output
https://gist.github.com/NicholasAzar/dbd961da7df00699a07f5a5f0517600a
Expected Behavior
Bucket state retry shouldn't occur during state refresh
Actual Behavior
Bucket retries, causing a much slower apply
Steps to Reproduce
terraform apply
Important Factoids
Only noticed this behaviour since yesterday.
The text was updated successfully, but these errors were encountered: