OpenTofu Plan Output causes huge memory usage
T
Teal Alpaca
We have some OpenTofu modules that include Harness resources we are trying to plan/apply. One of our pipelines is 50K lines of YAML which is causing OpenTofu to use over 40GB of memory. The documentation doesn't have any upper limits and we assumed this would be fine but are seeing crashes in our Runner where we are running the Plan for this. We narrowed down the issue to the diff that's happening and are currently suppressing it via a --json flag. We'd like to have the ability to suppress the diff output natively via the Harness Terraform Provider if it's over a certain amount of lines and ensure that there is documentation limit testing these kinds of scenarios.
Log In