github.com/opentofu/opentofu@v1.7.1/internal/configs/testdata/config-diagnostics/tests-provider-mismatch/errors (about)

     1  testdata/config-diagnostics/tests-provider-mismatch/main.tftest.hcl:27,11-14: Provider type mismatch; The local name "bar" in main.tftest.hcl represents provider "registry.opentofu.org/hashicorp/bar", but "foo" in the root module represents "registry.opentofu.org/hashicorp/foo".\n\nThis means the provider definition for "bar" within main.tftest.hcl, or other provider definitions with the same name, have been referenced by multiple run blocks and assigned to different provider types.