Closed oavdeev closed 2 years ago
This messes up provider settings if you want to use infra as a module elsewhere. For example, in my case I have multiple providers for a cross-account config, and infra picks up the wrong one
infra
See https://www.terraform.io/docs/language/modules/develop/providers.html
A module intended to be called by one or more other modules must not contain any provider blocks
This messes up provider settings if you want to use
infra
as a module elsewhere. For example, in my case I have multiple providers for a cross-account config, andinfra
picks up the wrong oneSee https://www.terraform.io/docs/language/modules/develop/providers.html