terraform/internal/cloudplugin
Nick Fagerlund d2e07f6f03 Add TF_CLOUD_PLUGIN_DEV_OVERRIDE to enable cloudplugin dev
Currently, Terraform will only run properly signed versions of the experimental
cloud plugin that were downloaded from a TFC instance that provides the
appropriate service. That obstructs development on new cloud plugin features!
Our internal teams will need a "dev override" capability, like what we offer
provider authors.

However, unlike with providers, we don't have to integrate this into a
heterogeneous mix of sources for mirroring and caching a wide range of binaries.
There's only one cloud plugin, HashiCorp controls it, and end users should never
need to override the location of the binary for non-development reasons.

Thus, we have the luxury of being quite a bit stupider in how we handle the
override signal. Instead of adding it to the CLI config file schema, we'll just
use a single environment variable whose value is the path to an alternate
binary.

Enter: `TF_CLOUD_PLUGIN_DEV_OVERRIDE`.
2023-12-04 18:09:37 -08:00
..
cloudplugin1 Merge pull request #33602 from hashicorp/TF-8071-download-and-verify-the-plugin-in-terraform 2023-08-18 07:08:33 -06:00
cloudproto1 add missing copyright headers 2023-08-16 11:21:49 -07:00
mock_cloudproto1 Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
testdata Add TF_CLOUD_PLUGIN_DEV_OVERRIDE to enable cloudplugin dev 2023-12-04 18:09:37 -08:00
binary.go Add TF_CLOUD_PLUGIN_DEV_OVERRIDE to enable cloudplugin dev 2023-12-04 18:09:37 -08:00
binary_test.go Add TF_CLOUD_PLUGIN_DEV_OVERRIDE to enable cloudplugin dev 2023-12-04 18:09:37 -08:00
client.go cloudplugin: change manifest format to match releases API 2023-09-06 14:03:24 -06:00
client_test.go cloudplugin: change manifest format to match releases API 2023-09-06 14:03:24 -06:00
errors.go more missing headers 2023-08-30 14:55:24 -07:00
interface.go add missing copyright headers 2023-08-16 11:21:49 -07:00
testing.go cloudplugin: change manifest format to match releases API 2023-09-06 14:03:24 -06:00