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
The provider currently deletes and recreates the Workspace directory for remote repositories as detailed here. My understanding is that this was added as a workaround for an issue in the go-getter library where it would fail to pull a repository in an existing directory. This has the effect of requiring Terraform to download the providers every time when the plugin cache is disabled (required when using max-reconcile-rate > 0), increasing NAT cost and reducing performance as explained here.
Oops - right - I have been trying to get the last CI job to run before I merge it and I didn't make the connection. I don't know why the job isn't being picked up by a runner, but I'll kick it one more time and if it doesn't run I'll just merge the change.
What happened?
The provider currently deletes and recreates the Workspace directory for remote repositories as detailed here. My understanding is that this was added as a workaround for an issue in the
go-getter
library where it would fail to pull a repository in an existing directory. This has the effect of requiring Terraform to download the providers every time when the plugin cache is disabled (required when usingmax-reconcile-rate > 0
), increasing NAT cost and reducing performance as explained here.The
go-getter
bug seems to be fixed in the latest v1 release (v1.7.5), so this code could probably be removed if we upgrade to the latest v1 release.How can we reproduce it?
What environment did it happen in?
The text was updated successfully, but these errors were encountered: