mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
ffe056bacb
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.
22 lines
855 B
HCL
22 lines
855 B
HCL
# The purpose of this test is to refer to a provider whose address contains
|
|
# a hostname that is only used for namespacing purposes and doesn't actually
|
|
# have a provider registry deployed at it.
|
|
#
|
|
# A user can install such a provider in one of the implied local filesystem
|
|
# directories and Terraform should accept that as the selection for that
|
|
# provider without producing any errors about the fact that example.com
|
|
# does not have a provider registry.
|
|
#
|
|
# For this test in particular we're using the "vendor" directory that is
|
|
# the documented way to include provider plugins directly inside a
|
|
# configuration uploaded to Terraform Cloud, but this functionality applies
|
|
# to all of the implicit local filesystem search directories.
|
|
|
|
terraform {
|
|
required_providers {
|
|
happycloud = {
|
|
source = "example.com/awesomecorp/happycloud"
|
|
}
|
|
}
|
|
}
|