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
Module module.project-factory does not declare a provider named google.
│ If you wish to specify a provider configuration for the module, add an entry for google in the required_providers block within the module.
I'd like to specify the provider to be used by the Module, but the root Module does not contain required_providers. I've searched around and noted that the lack of required_providers was surfaced in #462 and fixed in #513 for most modules but did not include the root Module. The removal of credentials_path in v11 means, as far as I know, the only way to control the provider configuration for this module is by changing the default provider configuration.
is there a reason for this -- a design decision? -- with a different (undocumented) approach that I should use, or is it a missing feature? I'm unsure if this is something I should be creating a Pull Request for, or if I'm misunderstanding how to use the Module.
I want to specify a set of Google credentials, in configuration, that the Module will use
I do not want to change the default Google provider configuration
Thanks,
The text was updated successfully, but these errors were encountered:
│ Warning: Provider google is undefined
│
│ on test.tf line 7, in module "project-factory":
│ 7: google = google.example
│
│ Module module.project-factory does not declare a provider named google.
│ If you wish to specify a provider configuration for the module, add an entry for google in the required_providers block within the module.
╵
edit: "root Module" might be the wrong language, apologies, been a while since I worked with terraform. I mean the module at the root of this repository, so what's declared in main.tfnot what's declared in the modules/*.
I'd like to specify the provider to be used by the Module, but the root Module does not contain
required_providers
. I've searched around and noted that the lack ofrequired_providers
was surfaced in #462 and fixed in #513 for most modules but did not include the root Module. The removal ofcredentials_path
in v11 means, as far as I know, the only way to control the provider configuration for this module is by changing the default provider configuration.is there a reason for this -- a design decision? -- with a different (undocumented) approach that I should use, or is it a missing feature? I'm unsure if this is something I should be creating a Pull Request for, or if I'm misunderstanding how to use the Module.
Thanks,
The text was updated successfully, but these errors were encountered: