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
I am running into issues running plan on terraform 0.12 on my Macbook running OSX 10.14.5 (I have also observed this behavior on Ubuntu 18.04). Terraform forks hundreds of internal-plugin child processes like:
My repository contains ~230 AWS servers defined using a shared AWS server module which leverages chef, local-exec and remote-exec provisioners and everything has been upgraded using terraform 0.12upgrade.
This seems to be the Unix flavor of the problem in #21584. The short version is that Terraform is starting one plugin process per provisioner block in order to validate, and so configurations with an extreme amount of provisioners will lead to an extreme amount of processes. As I mentioned in the other issue, I expect we can refactor so that Terraform can start just a single process and use it for all of the validation steps, and then only spin up the separate processes to handle the real provisioner steps, which will be limited by the Terraform concurrency limit (10 by default) and by the slow speed of provisioning, and thus cannot be so excessive.
Since this is covering the same problem as the other issue, I'm going to close this one to consolidate and remove the "windows" label from the other one to represent that it manifests in a different way on Unix-like operating systems too. Thanks again!
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Jul 25, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am running into issues running plan on terraform 0.12 on my Macbook running OSX 10.14.5 (I have also observed this behavior on Ubuntu 18.04). Terraform forks hundreds of internal-plugin child processes like:
This eventually leads to failure
If I monitor terraform processes in a separate window during the plan, I see this
When I run plan with TF_LOG_PATH and TF_LOG, I can find these errors in the log:
I am using the newest version of Terraform and AWS provider.
My repository contains ~230 AWS servers defined using a shared AWS server module which leverages chef, local-exec and remote-exec provisioners and everything has been upgraded using
terraform 0.12upgrade
.The shared AWS server module structure is
The text was updated successfully, but these errors were encountered: