File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
internal/getproviders/reattach Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,23 @@ import (
1212 "github.com/hashicorp/terraform/internal/addrs"
1313)
1414
15+ // TF_REATTACH_PROVIDERS is JSON string, containing a map of provider source to reattachment config.
16+ //
17+ // E.g this corresponds to a provider with source 'registry.terraform.io/hashicorp/foobar':
18+ /*
19+ {
20+ "foobar": {
21+ "Protocol": "grpc",
22+ "ProtocolVersion": 6,
23+ "Pid": 12345,
24+ "Test": true,
25+ "Addr": {
26+ "Network": "unix",
27+ "String":"/var/folders/xx/abcde12345/T/plugin12345"
28+ }
29+ }
30+ }
31+ */
1532const TF_REATTACH_PROVIDERS = "TF_REATTACH_PROVIDERS"
1633
1734// ParseReattachProviders parses information used for reattaching to unmanaged providers out of a
You can’t perform that action at this time.
0 commit comments