opentofu/internal/command/testdata/init-legacy-provider-cache/versions.tf
Martin Atkins ffe056bacb Move command/ to internal/command/
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

22 lines
701 B
HCL

terraform {
required_providers {
a = {
# This one is just not available at all
source = "example.com/test/a"
}
b = {
# This one is unavailable but happens to be cached in the legacy
# cache directory, under .terraform/plugins
source = "example.com/test/b"
}
c = {
# This one is also cached in the legacy cache directory, but it's
# an official provider so init will assume it got there via normal
# automatic installation and not generate a warning about it.
# This one is also not available at all, but it's an official
# provider so we don't expect to see a warning about it.
source = "hashicorp/c"
}
}
}