mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-18 17:01:00 -05:00
Providers can be required from multiple sources. The previous implementation of the providers sub-command displayed only a flat list of provider requirements, which made it difficult to see which modules required each provider. This commit reintroduces the tree display of provider requirements, and adds a separate output block for providers required by existing state.
16 lines
162 B
HCL
16 lines
162 B
HCL
terraform {
|
|
required_providers {
|
|
foo = {
|
|
version = "1.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "bar" {
|
|
version = "2.0.0"
|
|
}
|
|
|
|
module "kiddo" {
|
|
source = "./child"
|
|
}
|