Files
opentf/command/testdata/init-required-providers/main.tf
Kristin Laemmert 18dd1bb4d6 Mildwonkey/tfconfig upgrade (#23670)
* deps: bump terraform-config-inspect library
* configs: parse `version` in new required_providers block

With the latest version of `terraform-config-inspect`, the
required_providers attribute can now be a string or an object with
attributes "source" and "version". This change allows parsing the
version constraint from the new object while ignoring any given source attribute.
2020-01-10 11:54:53 -05:00

9 lines
105 B
HCL

terraform {
required_providers {
test = "1.2.3"
source = {
version = "1.2.3"
}
}
}