Affected: Terraform Integration
Symptoms
The following error occurs when applying your Terraform plan:
connection is shut down
Cause
This error may be due to running out of memory. This occurs when using Terraform CLI versions before 0.12.29, as these older versions are less memory efficient. Version 0.12.29 reduces the memory footprint due to the change in how it stores resource graph objects.
Solution
-
Upgrade Terraform CLI to 0.12.29, reference: Troubleshoot Plan operation failures in Terraform Enterprise.
-
Increase the memory per worker.
-
Update to the latest version of the LaunchDarkly Terraform provider.
-
Specify LaunchDarkly as the source address in each module that requires the provider.