what
- Properly pin providers
- Update readme
why
- Pinning the module's providers version in
required_providers
block allows specifying only the required provider version for the module without the need to specify all providers with versions explicitly - All other proveders' attributes (e.g.
region
) are inherited from top-level modules (and examples) by using the provider block
provider "aws" {
region = var.region
}
or by specifying the required attributes (e.g. region
) in ENV variables, e.g.
AWS_REGION=us-west-1 terraform plan