Start silently ignoring `provider_meta` blocks when they appear in modules
Author: apparentlymartCreated Aug 17, 2026Updated Sep 29, 2026
Labelsaccepted
This is an implementation issue for one of the changes discussed in https://github.com/opentofu/opentofu/pull/4436.
The intended new behavior is for OpenTofu to effectively just ignore provider_meta blocks completely and behave equivalently to if they were not present at all.
The only exception is that OpenTofu will emit a TF_LOG=warn-level log message when it notices a provider_meta block in a module that's being loaded, so that if someone reports a bug related to this and includes the log output as requested by our issue template then we'll get an immediate clue that this change could potentially explain a behavior difference compared to other implementations of the OpenTofu module language.
Source: opentofu/opentofu