opentofu/internal/configs/testdata/invalid-files/provider-reserved.tf
Martin Atkins 31349a9c3a Move configs/ to internal/configs/
This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
2021-05-17 14:09:07 -07:00

17 lines
337 B
HCL

provider "test" {
# These are okay
alias = "foo"
version = "1.0.0"
# Provider-specific arguments are also okay
arbitrary = true
# These are all reserved and should generate errors.
count = 3
depends_on = ["foo.bar"]
for_each = ["a", "b"]
source = "foo.example.com/baz/bar"
lifecycle {}
locals {}
}