github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/e2etest/testdata/local-only-provider/main.tf (about) 1 # The purpose of this test is to refer to a provider whose address contains 2 # a hostname that is only used for namespacing purposes and doesn't actually 3 # have a provider registry deployed at it. 4 # 5 # A user can install such a provider in one of the implied local filesystem 6 # directories and Terraform should accept that as the selection for that 7 # provider without producing any errors about the fact that example.com 8 # does not have a provider registry. 9 # 10 # For this test in particular we're using the "vendor" directory that is 11 # the documented way to include provider plugins directly inside a 12 # configuration uploaded to Terraform Cloud, but this functionality applies 13 # to all of the implicit local filesystem search directories. 14 15 terraform { 16 required_providers { 17 happycloud = { 18 source = "example.com/awesomecorp/happycloud" 19 } 20 } 21 }