2018-08-24 18:13:05 -05:00
|
|
|
module github.com/hashicorp/terraform
|
|
|
|
|
|
|
|
require (
|
2019-09-09 07:04:58 -05:00
|
|
|
cloud.google.com/go v0.45.1
|
2020-08-07 03:45:40 -05:00
|
|
|
github.com/Azure/azure-sdk-for-go v45.0.0+incompatible
|
|
|
|
github.com/Azure/go-autorest/autorest v0.11.3
|
2020-06-25 07:41:09 -05:00
|
|
|
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
|
|
|
|
github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d // indirect
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af // indirect
|
2019-02-22 16:15:02 -06:00
|
|
|
github.com/agext/levenshtein v1.2.2
|
2019-04-10 18:11:10 -05:00
|
|
|
github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a
|
2019-03-07 04:31:36 -06:00
|
|
|
github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70
|
2019-04-10 18:11:10 -05:00
|
|
|
github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible
|
2020-07-08 09:57:57 -05:00
|
|
|
github.com/apparentlymart/go-cidr v1.1.0
|
2019-02-21 02:45:27 -06:00
|
|
|
github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0
|
2020-09-15 13:14:25 -05:00
|
|
|
github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13
|
2020-10-10 06:36:16 -05:00
|
|
|
github.com/apparentlymart/go-versions v1.0.1
|
2019-02-21 02:48:13 -06:00
|
|
|
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da // indirect
|
2019-02-18 01:15:26 -06:00
|
|
|
github.com/armon/go-radix v1.0.0 // indirect
|
backend/s3: Updates for Terraform v0.13.0 (#25134)
* deps: Update github.com/hashicorp/aws-sdk-go-base@v0.5.0
Updated via:
```
$ go get github.com/hashicorp/aws-sdk-go-base@v0.5.0
$ go mod tidy
$ go mod vendor
```
* backend/s3: Updates for Terraform v0.13.0
Reference: https://github.com/hashicorp/terraform/issues/13410
Reference: https://github.com/hashicorp/terraform/issues/18774
Reference: https://github.com/hashicorp/terraform/issues/19482
Reference: https://github.com/hashicorp/terraform/issues/20062
Reference: https://github.com/hashicorp/terraform/issues/20599
Reference: https://github.com/hashicorp/terraform/issues/22103
Reference: https://github.com/hashicorp/terraform/issues/22161
Reference: https://github.com/hashicorp/terraform/issues/22601
Reference: https://github.com/hashicorp/terraform/issues/22992
Reference: https://github.com/hashicorp/terraform/issues/24252
Reference: https://github.com/hashicorp/terraform/issues/24253
Reference: https://github.com/hashicorp/terraform/issues/24480
Reference: https://github.com/hashicorp/terraform/issues/25056
Changes:
```
NOTES
* backend/s3: Deprecated `lock_table`, `skip_get_ec2_platforms`, `skip_requesting_account_id` arguments have been removed
* backend/s3: Credential ordering has changed from static, environment, shared credentials, EC2 metadata, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata) to static, environment, shared credentials, default AWS Go SDK (shared configuration, web identity, ECS, EC2 Metadata)
* The `AWS_METADATA_TIMEOUT` environment variable no longer has any effect as we now depend on the default AWS Go SDK EC2 Metadata client timeout of one second with two retries
ENHANCEMENTS
* backend/s3: Always enable shared configuration file support (no longer require `AWS_SDK_LOAD_CONFIG` environment variable)
* backend/s3: Automatically expand `~` prefix for home directories in `shared_credentials_file` argument
* backend/s3: Add `assume_role_duration_seconds`, `assume_role_policy_arns`, `assume_role_tags`, and `assume_role_transitive_tag_keys` arguments
BUG FIXES
* backend/s3: Ensure configured profile is used
* backend/s3: Ensure configured STS endpoint is used during AssumeRole API calls
* backend/s3: Prefer AWS shared configuration over EC2 metadata credentials
* backend/s3: Prefer ECS credentials over EC2 metadata credentials
* backend/s3: Remove hardcoded AWS Provider messaging
```
Output from acceptance testing:
```
--- PASS: TestBackend (16.32s)
--- PASS: TestBackendConfig (0.58s)
--- PASS: TestBackendConfig_AssumeRole (0.02s)
--- PASS: TestBackendConfig_conflictingEncryptionSchema (0.00s)
--- PASS: TestBackendConfig_invalidKey (0.00s)
--- PASS: TestBackendConfig_invalidSSECustomerKeyEncoding (0.00s)
--- PASS: TestBackendConfig_invalidSSECustomerKeyLength (0.00s)
--- PASS: TestBackendExtraPaths (13.21s)
--- PASS: TestBackendLocked (28.98s)
--- PASS: TestBackendPrefixInWorkspace (5.65s)
--- PASS: TestBackendSSECustomerKey (17.60s)
--- PASS: TestBackend_impl (0.00s)
--- PASS: TestForceUnlock (17.50s)
--- PASS: TestKeyEnv (50.25s)
--- PASS: TestRemoteClient (4.78s)
--- PASS: TestRemoteClientLocks (16.85s)
--- PASS: TestRemoteClient_clientMD5 (12.08s)
--- PASS: TestRemoteClient_impl (0.00s)
--- PASS: TestRemoteClient_stateChecksum (17.92s)
```
2020-06-05 15:41:32 -05:00
|
|
|
github.com/aws/aws-sdk-go v1.31.9
|
2019-04-10 18:11:10 -05:00
|
|
|
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f // indirect
|
2020-06-24 13:47:59 -05:00
|
|
|
github.com/bgentry/speakeasy v0.1.0
|
2019-08-30 19:14:38 -05:00
|
|
|
github.com/bmatcuk/doublestar v1.1.5
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/boltdb/bolt v1.3.1 // indirect
|
|
|
|
github.com/chzyer/logex v1.1.10 // indirect
|
2019-08-09 17:49:03 -05:00
|
|
|
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
|
2018-10-16 19:12:35 -05:00
|
|
|
github.com/coreos/bbolt v1.3.0 // indirect
|
|
|
|
github.com/coreos/etcd v3.3.10+incompatible
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/coreos/go-semver v0.2.0 // indirect
|
2019-09-09 07:04:58 -05:00
|
|
|
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d // indirect
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
|
2018-09-25 13:19:23 -05:00
|
|
|
github.com/davecgh/go-spew v1.1.1
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/dylanmei/iso8601 v0.1.0 // indirect
|
2019-02-26 12:22:15 -06:00
|
|
|
github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1
|
2019-08-21 05:32:13 -05:00
|
|
|
github.com/go-test/deep v1.0.3
|
2020-06-25 07:41:09 -05:00
|
|
|
github.com/gofrs/uuid v3.3.0+incompatible // indirect
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7 // indirect
|
2019-05-27 06:22:03 -05:00
|
|
|
github.com/golang/mock v1.3.1
|
command: Unmanaged providers
This adds supports for "unmanaged" providers, or providers with process
lifecycles not controlled by Terraform. These providers are assumed to
be started before Terraform is launched, and are assumed to shut
themselves down after Terraform has finished running.
To do this, we must update the go-plugin dependency to v1.3.0, which
added support for the "test mode" plugin serving that powers all this.
As a side-effect of not needing to manage the process lifecycle anymore,
Terraform also no longer needs to worry about the provider's binary, as
it won't be used for anything anymore. Because of this, we can disable
the init behavior that concerns itself with downloading that provider's
binary, checking its version, and otherwise managing the binary.
This is all managed on a per-provider basis, so managed providers that
Terraform downloads, starts, and stops can be used in the same commands
as unmanaged providers. The TF_REATTACH_PROVIDERS environment variable
is added, and is a JSON encoding of the provider's address to the
information we need to connect to it.
This change enables two benefits: first, delve and other debuggers can
now be attached to provider server processes, and Terraform can connect.
This allows for attaching debuggers to provider processes, which before
was difficult to impossible. Second, it allows the SDK test framework to
host the provider in the same process as the test driver, while running
a production Terraform binary against the provider. This allows for Go's
built-in race detector and test coverage tooling to work as expected in
provider tests.
Unmanaged providers are expected to work in the exact same way as
managed providers, with one caveat: Terraform kills provider processes
and restarts them once per graph walk, meaning multiple times during
most Terraform CLI commands. As unmanaged providers can't be killed by
Terraform, and have no visibility into graph walks, unmanaged providers
are likely to have differences in how their global mutable state behaves
when compared to managed providers. Namely, unmanaged providers are
likely to retain global state when managed providers would have reset
it. Developers relying on global state should be aware of this.
2020-05-26 19:48:57 -05:00
|
|
|
github.com/golang/protobuf v1.3.4
|
2020-10-14 07:37:14 -05:00
|
|
|
github.com/google/go-cmp v0.5.2
|
2019-08-09 14:09:41 -05:00
|
|
|
github.com/google/uuid v1.1.1
|
2020-04-25 01:41:54 -05:00
|
|
|
github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5
|
|
|
|
github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d
|
2019-09-09 07:04:58 -05:00
|
|
|
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 // indirect
|
2018-10-16 19:12:35 -05:00
|
|
|
github.com/gorilla/websocket v1.4.0 // indirect
|
|
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 // indirect
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
2019-08-20 03:32:02 -05:00
|
|
|
github.com/grpc-ecosystem/grpc-gateway v1.8.5 // indirect
|
2020-08-18 11:49:31 -05:00
|
|
|
github.com/hashicorp/aws-sdk-go-base v0.6.0
|
2018-08-24 18:13:05 -05:00
|
|
|
github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089
|
2018-09-25 13:19:23 -05:00
|
|
|
github.com/hashicorp/errwrap v1.0.0
|
2020-08-07 03:45:40 -05:00
|
|
|
github.com/hashicorp/go-azure-helpers v0.12.0
|
2019-02-21 02:50:02 -06:00
|
|
|
github.com/hashicorp/go-checkpoint v0.5.0
|
2019-10-11 16:41:27 -05:00
|
|
|
github.com/hashicorp/go-cleanhttp v0.5.1
|
2020-01-06 13:02:54 -06:00
|
|
|
github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02
|
2020-10-22 11:58:56 -05:00
|
|
|
github.com/hashicorp/go-hclog v0.14.2-0.20201022192508-e59fd7e11108
|
2018-10-02 15:03:07 -05:00
|
|
|
github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa // indirect
|
2019-04-23 20:05:41 -05:00
|
|
|
github.com/hashicorp/go-msgpack v0.5.4 // indirect
|
2018-09-25 13:19:23 -05:00
|
|
|
github.com/hashicorp/go-multierror v1.0.0
|
command: Unmanaged providers
This adds supports for "unmanaged" providers, or providers with process
lifecycles not controlled by Terraform. These providers are assumed to
be started before Terraform is launched, and are assumed to shut
themselves down after Terraform has finished running.
To do this, we must update the go-plugin dependency to v1.3.0, which
added support for the "test mode" plugin serving that powers all this.
As a side-effect of not needing to manage the process lifecycle anymore,
Terraform also no longer needs to worry about the provider's binary, as
it won't be used for anything anymore. Because of this, we can disable
the init behavior that concerns itself with downloading that provider's
binary, checking its version, and otherwise managing the binary.
This is all managed on a per-provider basis, so managed providers that
Terraform downloads, starts, and stops can be used in the same commands
as unmanaged providers. The TF_REATTACH_PROVIDERS environment variable
is added, and is a JSON encoding of the provider's address to the
information we need to connect to it.
This change enables two benefits: first, delve and other debuggers can
now be attached to provider server processes, and Terraform can connect.
This allows for attaching debuggers to provider processes, which before
was difficult to impossible. Second, it allows the SDK test framework to
host the provider in the same process as the test driver, while running
a production Terraform binary against the provider. This allows for Go's
built-in race detector and test coverage tooling to work as expected in
provider tests.
Unmanaged providers are expected to work in the exact same way as
managed providers, with one caveat: Terraform kills provider processes
and restarts them once per graph walk, meaning multiple times during
most Terraform CLI commands. As unmanaged providers can't be killed by
Terraform, and have no visibility into graph walks, unmanaged providers
are likely to have differences in how their global mutable state behaves
when compared to managed providers. Namely, unmanaged providers are
likely to retain global state when managed providers would have reset
it. Developers relying on global state should be aware of this.
2020-05-26 19:48:57 -05:00
|
|
|
github.com/hashicorp/go-plugin v1.3.0
|
2019-04-08 04:13:14 -05:00
|
|
|
github.com/hashicorp/go-retryablehttp v0.5.2
|
2019-02-21 02:54:14 -06:00
|
|
|
github.com/hashicorp/go-rootcerts v1.0.0
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86 // indirect
|
2020-05-19 11:35:49 -05:00
|
|
|
github.com/hashicorp/go-tfe v0.8.1
|
2019-04-08 04:13:14 -05:00
|
|
|
github.com/hashicorp/go-uuid v1.0.1
|
2019-10-11 16:41:27 -05:00
|
|
|
github.com/hashicorp/go-version v1.2.0
|
2019-02-08 17:51:53 -06:00
|
|
|
github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f
|
2020-10-14 09:16:42 -05:00
|
|
|
github.com/hashicorp/hcl/v2 v2.7.0
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/hashicorp/memberlist v0.1.0 // indirect
|
|
|
|
github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb // indirect
|
2020-01-10 10:54:53 -06:00
|
|
|
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7
|
2020-09-14 11:21:20 -05:00
|
|
|
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
|
2020-04-13 15:17:17 -05:00
|
|
|
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
|
|
|
|
github.com/imdario/mergo v0.3.9 // indirect
|
2020-04-24 11:20:04 -05:00
|
|
|
github.com/jmespath/go-jmespath v0.3.0
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/jonboulle/clockwork v0.1.0 // indirect
|
2018-08-24 18:13:05 -05:00
|
|
|
github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/jtolds/gls v4.2.1+incompatible // indirect
|
2019-02-22 16:16:33 -06:00
|
|
|
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
|
2018-11-14 14:49:15 -06:00
|
|
|
github.com/lib/pq v1.0.0
|
2020-02-13 10:37:11 -06:00
|
|
|
github.com/likexian/gokit v0.20.15
|
2018-08-24 18:13:05 -05:00
|
|
|
github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82
|
2020-06-25 07:41:09 -05:00
|
|
|
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
|
|
|
|
github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88
|
2020-10-21 12:06:23 -05:00
|
|
|
github.com/mattn/go-colorable v0.1.8 // indirect
|
2020-10-14 12:46:54 -05:00
|
|
|
github.com/mattn/go-isatty v0.0.12
|
2019-02-22 10:54:29 -06:00
|
|
|
github.com/mattn/go-shellwords v1.0.4
|
2018-09-24 11:30:39 -05:00
|
|
|
github.com/miekg/dns v1.0.8 // indirect
|
2020-09-10 12:44:24 -05:00
|
|
|
github.com/mitchellh/cli v1.1.0
|
2019-02-21 02:57:51 -06:00
|
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
|
2019-02-12 06:06:10 -06:00
|
|
|
github.com/mitchellh/copystructure v1.0.0
|
2019-07-29 17:19:40 -05:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0
|
2019-02-21 02:59:37 -06:00
|
|
|
github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb
|
2018-09-25 13:19:23 -05:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.0
|
2020-06-17 09:47:53 -05:00
|
|
|
github.com/mitchellh/gox v1.0.1
|
2019-02-12 06:09:17 -06:00
|
|
|
github.com/mitchellh/mapstructure v1.1.2
|
2019-11-05 03:22:11 -06:00
|
|
|
github.com/mitchellh/panicwrap v1.0.0
|
2020-04-13 15:17:17 -05:00
|
|
|
github.com/mitchellh/reflectwalk v1.0.1
|
2020-06-25 07:41:09 -05:00
|
|
|
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
|
|
|
|
github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c // indirect
|
2019-07-09 14:06:20 -05:00
|
|
|
github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4
|
2020-04-24 11:20:04 -05:00
|
|
|
github.com/pkg/errors v0.9.1
|
2019-02-21 03:07:42 -06:00
|
|
|
github.com/posener/complete v1.2.1
|
2019-09-09 07:04:58 -05:00
|
|
|
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 // indirect
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
|
|
|
|
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect
|
|
|
|
github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // indirect
|
2018-10-16 19:12:35 -05:00
|
|
|
github.com/soheilhy/cmux v0.1.4 // indirect
|
2020-04-13 15:17:17 -05:00
|
|
|
github.com/spf13/afero v1.2.2
|
2020-02-13 10:37:11 -06:00
|
|
|
github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible
|
|
|
|
github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c
|
2018-10-16 19:12:35 -05:00
|
|
|
github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6 // indirect
|
2020-08-07 03:45:40 -05:00
|
|
|
github.com/tombuildsstuff/giovanni v0.12.0
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5 // indirect
|
2019-02-22 08:22:13 -06:00
|
|
|
github.com/xanzy/ssh-agent v0.2.1
|
2018-08-27 13:26:52 -05:00
|
|
|
github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18 // indirect
|
2018-08-24 18:13:05 -05:00
|
|
|
github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557
|
2020-10-14 09:17:22 -05:00
|
|
|
github.com/zclconf/go-cty v1.6.2-0.20201013200640-e5225636c8c2
|
2020-06-17 12:05:08 -05:00
|
|
|
github.com/zclconf/go-cty-yaml v1.0.2
|
2018-10-16 19:12:35 -05:00
|
|
|
go.uber.org/atomic v1.3.2 // indirect
|
|
|
|
go.uber.org/multierr v1.1.0 // indirect
|
|
|
|
go.uber.org/zap v1.9.1 // indirect
|
2020-08-07 03:45:40 -05:00
|
|
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
|
2020-03-27 17:32:01 -05:00
|
|
|
golang.org/x/mod v0.2.0
|
2020-06-25 07:41:09 -05:00
|
|
|
golang.org/x/net v0.0.0-20200602114024-627f9648deb9
|
2019-09-09 07:04:58 -05:00
|
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
2020-06-25 07:41:09 -05:00
|
|
|
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
|
2020-07-03 07:01:40 -05:00
|
|
|
golang.org/x/text v0.3.2
|
2020-04-25 01:41:54 -05:00
|
|
|
golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371
|
2019-09-09 07:04:58 -05:00
|
|
|
google.golang.org/api v0.9.0
|
command: Unmanaged providers
This adds supports for "unmanaged" providers, or providers with process
lifecycles not controlled by Terraform. These providers are assumed to
be started before Terraform is launched, and are assumed to shut
themselves down after Terraform has finished running.
To do this, we must update the go-plugin dependency to v1.3.0, which
added support for the "test mode" plugin serving that powers all this.
As a side-effect of not needing to manage the process lifecycle anymore,
Terraform also no longer needs to worry about the provider's binary, as
it won't be used for anything anymore. Because of this, we can disable
the init behavior that concerns itself with downloading that provider's
binary, checking its version, and otherwise managing the binary.
This is all managed on a per-provider basis, so managed providers that
Terraform downloads, starts, and stops can be used in the same commands
as unmanaged providers. The TF_REATTACH_PROVIDERS environment variable
is added, and is a JSON encoding of the provider's address to the
information we need to connect to it.
This change enables two benefits: first, delve and other debuggers can
now be attached to provider server processes, and Terraform can connect.
This allows for attaching debuggers to provider processes, which before
was difficult to impossible. Second, it allows the SDK test framework to
host the provider in the same process as the test driver, while running
a production Terraform binary against the provider. This allows for Go's
built-in race detector and test coverage tooling to work as expected in
provider tests.
Unmanaged providers are expected to work in the exact same way as
managed providers, with one caveat: Terraform kills provider processes
and restarts them once per graph walk, meaning multiple times during
most Terraform CLI commands. As unmanaged providers can't be killed by
Terraform, and have no visibility into graph walks, unmanaged providers
are likely to have differences in how their global mutable state behaves
when compared to managed providers. Namely, unmanaged providers are
likely to retain global state when managed providers would have reset
it. Developers relying on global state should be aware of this.
2020-05-26 19:48:57 -05:00
|
|
|
google.golang.org/grpc v1.27.1
|
2019-06-10 15:15:54 -05:00
|
|
|
gopkg.in/ini.v1 v1.42.0 // indirect
|
2020-04-13 15:17:17 -05:00
|
|
|
gopkg.in/yaml.v2 v2.2.8
|
|
|
|
k8s.io/api v0.0.0-20190620084959-7cf5895f2711
|
|
|
|
k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655
|
|
|
|
k8s.io/client-go v10.0.0+incompatible
|
|
|
|
k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4
|
|
|
|
)
|
|
|
|
|
2020-08-07 03:45:40 -05:00
|
|
|
replace k8s.io/client-go => k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
|
2019-10-11 11:50:12 -05:00
|
|
|
|
build: Use Go 1.14
This implies some notable changes that will have a visible impact to
end-users of official Terraform releases:
- Terraform is no longer compatible with MacOS 10.10 Yosemite, and
requires at least 10.11 El Capitan. (Relatedly, Go 1.14 is planned to be
the last release to support El Capitan, so while that remains supported
for now, it's notable that Terraform 0.13 is likely to be the last major
release of Terraform supporting it, with 0.14 likely to further require
MacOS 10.12 Sierra.)
- Terraform is no longer compatible with FreeBSD 10.x, which has reached
end-of-life. Terraform now requires FreeBSD 11.2 or later.
- Terraform now supports TLS 1.3 when it makes connections to remote
services such as backends and module registries. Although TLS 1.3 is
backward-compatible in principle, some legacy systems reportedly work
incorrectly when attempting to negotiate it. (This change does not
affect outgoing requests made by provider plugins, though they will see
a similar change in behavior once built with Go 1.13 or later.)
- Ed25519 certificates are now supported for TLS 1.2 and 1.3 connections.
- On UNIX systems where "use-vc" is set in resolv.conf, TCP will now be
used for DNS resolution. This is unlikely to cause issues in practice
because a system set up in this way can presumably already reach its
nameservers over TCP (or else other applications would misbehave), but
could potentially lead to lookup failures in unusual situations where a
system only runs Terraform, has historically had "use-vc" in its
configuration, but yet is blocked from reaching its configured
nameservers over TCP.
- Some parts of Terraform now support Unicode 12.0 when working with
strings. However, notably the Terraform Language itself continues to
use the text segmentation tables from Unicode 9.0, which means it lacks
up-to-date support for recognizing modern emoji combining forms as
single characters. (We may wish to upgrade the text segmentation tables
to Unicode 12.0 tables in a later commit, to restore consistency.)
This also includes some changes to the contents of "vendor", and
particularly to the format of vendor/modules.txt, per the changes to
vendoring in the Go 1.14 toolchain. This new syntax is activated by the
specification of "go 1.14" in the go.mod file.
Finally, the exact format of error messages from the net/http library has
changed since Go 1.12, and so a couple of our tests needed updates to
their expected error messages to match that.
2020-03-03 20:49:56 -06:00
|
|
|
go 1.14
|