You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've considered adding a retryable_errors block to the root terragrunt.hcl config using the auto-retry feature, but felt reservations about it for two reasons:
It seems like this might be encountered by others and potentially a known error that would be valuable to have included in the terragrunt defaults, which may benefit everyone.
This custom error we want to include isn't appended to the valuable DEFAULT_RETRYABLE_ERRORS in terragrunt. So it felt awkward to completely overwrite and then potentially being out of sync with any updates made to those default known errors in the future, but likely the best path forward for us in the interim.
Additional context
I'm not sure if anyone else has had similar experiences, but this appears to be a transient error that we've experienced intermittently with at least the following resources across various providers: helm_release, kubernetes_namespace, aws_s3_bucket. It occurs after the timeout for that resource, sometimes on apply, other times on destroy, and increasing the timeout doesn't have any effect. Simply retrying the invocation has been successful.
This context deadline exceeded error is common in Go when a connection's context times out before an action completes - I've found related issues with searches across provider repos and from HashiCorp, and the consensus seems to be on possible causes being: network latency, firewall rules, resource contention, slow i/o, etc. For example, see Why am I seeing `context deadline exceeded` errors – HashiCorp Help Center.
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
Consider adding
context deadline exceeded
to the DEFAULT_RETRYABLE_ERRORS. For additional information, see Auto-Retry.Describe alternatives you've considered
We've considered adding a
retryable_errors
block to the rootterragrunt.hcl
config using the auto-retry feature, but felt reservations about it for two reasons:It seems like this might be encountered by others and potentially a known error that would be valuable to have included in the terragrunt defaults, which may benefit everyone.
This custom error we want to include isn't appended to the valuable DEFAULT_RETRYABLE_ERRORS in
terragrunt
. So it felt awkward to completely overwrite and then potentially being out of sync with any updates made to those default known errors in the future, but likely the best path forward for us in the interim.Additional context
I'm not sure if anyone else has had similar experiences, but this appears to be a transient error that we've experienced intermittently with at least the following resources across various providers: helm_release, kubernetes_namespace, aws_s3_bucket. It occurs after the timeout for that resource, sometimes on
apply
, other times ondestroy
, and increasing the timeout doesn't have any effect. Simply retrying the invocation has been successful.This
context deadline exceeded
error is common in Go when a connection's context times out before an action completes - I've found related issues with searches across provider repos and from HashiCorp, and the consensus seems to be on possible causes being: network latency, firewall rules, resource contention, slow i/o, etc. For example, see Why am I seeing `context deadline exceeded` errors – HashiCorp Help Center.The text was updated successfully, but these errors were encountered: