2018-08-25 01:13:05 +02:00
|
|
|
module github.com/hashicorp/terraform
|
|
|
|
|
|
|
|
require (
|
2019-09-09 14:04:58 +02:00
|
|
|
cloud.google.com/go v0.45.1
|
2020-08-07 10:45:40 +02:00
|
|
|
github.com/Azure/azure-sdk-for-go v45.0.0+incompatible
|
|
|
|
github.com/Azure/go-autorest/autorest v0.11.3
|
2020-06-25 14:41:09 +02: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 20:26:52 +02:00
|
|
|
github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af // indirect
|
2019-02-22 23:15:02 +01:00
|
|
|
github.com/agext/levenshtein v1.2.2
|
2019-04-11 01:11:10 +02:00
|
|
|
github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a
|
2019-03-07 11:31:36 +01:00
|
|
|
github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70
|
2019-04-11 01:11:10 +02:00
|
|
|
github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible
|
2020-07-08 16:57:57 +02:00
|
|
|
github.com/apparentlymart/go-cidr v1.1.0
|
2019-02-21 09:45:27 +01:00
|
|
|
github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0
|
2020-09-15 20:14:25 +02:00
|
|
|
github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13
|
2020-10-10 13:36:16 +02:00
|
|
|
github.com/apparentlymart/go-versions v1.0.1
|
2019-02-21 09:48:13 +01:00
|
|
|
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da // indirect
|
2019-02-18 08:15:26 +01: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 22:41:32 +02:00
|
|
|
github.com/aws/aws-sdk-go v1.31.9
|
2019-04-11 01:11:10 +02:00
|
|
|
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f // indirect
|
2020-06-24 20:47:59 +02:00
|
|
|
github.com/bgentry/speakeasy v0.1.0
|
2019-08-31 02:14:38 +02:00
|
|
|
github.com/bmatcuk/doublestar v1.1.5
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/boltdb/bolt v1.3.1 // indirect
|
|
|
|
github.com/chzyer/logex v1.1.10 // indirect
|
2019-08-10 00:49:03 +02:00
|
|
|
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
|
2018-10-17 02:12:35 +02:00
|
|
|
github.com/coreos/bbolt v1.3.0 // indirect
|
|
|
|
github.com/coreos/etcd v3.3.10+incompatible
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/coreos/go-semver v0.2.0 // indirect
|
2019-09-09 14:04:58 +02:00
|
|
|
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d // indirect
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
|
2018-09-25 20:19:23 +02:00
|
|
|
github.com/davecgh/go-spew v1.1.1
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/dylanmei/iso8601 v0.1.0 // indirect
|
2019-02-26 19:22:15 +01:00
|
|
|
github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1
|
2019-08-21 12:32:13 +02:00
|
|
|
github.com/go-test/deep v1.0.3
|
2020-06-25 14:41:09 +02:00
|
|
|
github.com/gofrs/uuid v3.3.0+incompatible // indirect
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7 // indirect
|
2019-05-27 13:22:03 +02: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-27 02:48:57 +02:00
|
|
|
github.com/golang/protobuf v1.3.4
|
2020-10-14 14:37:14 +02:00
|
|
|
github.com/google/go-cmp v0.5.2
|
2019-08-09 21:09:41 +02:00
|
|
|
github.com/google/uuid v1.1.1
|
2020-04-25 08:41:54 +02:00
|
|
|
github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5
|
|
|
|
github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d
|
2019-09-09 14:04:58 +02:00
|
|
|
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 // indirect
|
2018-10-17 02:12:35 +02:00
|
|
|
github.com/gorilla/websocket v1.4.0 // indirect
|
|
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 // indirect
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
2019-08-20 10:32:02 +02:00
|
|
|
github.com/grpc-ecosystem/grpc-gateway v1.8.5 // indirect
|
2020-08-18 18:49:31 +02:00
|
|
|
github.com/hashicorp/aws-sdk-go-base v0.6.0
|
2018-08-25 01:13:05 +02:00
|
|
|
github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089
|
2018-09-25 20:19:23 +02:00
|
|
|
github.com/hashicorp/errwrap v1.0.0
|
2020-08-07 10:45:40 +02:00
|
|
|
github.com/hashicorp/go-azure-helpers v0.12.0
|
2019-02-21 09:50:02 +01:00
|
|
|
github.com/hashicorp/go-checkpoint v0.5.0
|
2019-10-11 23:41:27 +02:00
|
|
|
github.com/hashicorp/go-cleanhttp v0.5.1
|
2020-01-06 20:02:54 +01:00
|
|
|
github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02
|
2020-10-17 00:08:02 +02:00
|
|
|
github.com/hashicorp/go-hclog v0.14.1
|
2018-10-02 22:03:07 +02:00
|
|
|
github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa // indirect
|
2019-04-24 03:05:41 +02:00
|
|
|
github.com/hashicorp/go-msgpack v0.5.4 // indirect
|
2018-09-25 20:19:23 +02: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-27 02:48:57 +02:00
|
|
|
github.com/hashicorp/go-plugin v1.3.0
|
2019-04-08 11:13:14 +02:00
|
|
|
github.com/hashicorp/go-retryablehttp v0.5.2
|
2019-02-21 09:54:14 +01:00
|
|
|
github.com/hashicorp/go-rootcerts v1.0.0
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86 // indirect
|
2020-05-19 18:35:49 +02:00
|
|
|
github.com/hashicorp/go-tfe v0.8.1
|
2019-04-08 11:13:14 +02:00
|
|
|
github.com/hashicorp/go-uuid v1.0.1
|
2019-10-11 23:41:27 +02:00
|
|
|
github.com/hashicorp/go-version v1.2.0
|
2019-02-09 00:51:53 +01:00
|
|
|
github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f
|
2020-10-14 16:16:42 +02:00
|
|
|
github.com/hashicorp/hcl/v2 v2.7.0
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/hashicorp/memberlist v0.1.0 // indirect
|
|
|
|
github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb // indirect
|
2020-01-10 17:54:53 +01:00
|
|
|
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7
|
2020-09-14 18:21:20 +02:00
|
|
|
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
|
2020-04-13 22:17:17 +02:00
|
|
|
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
|
|
|
|
github.com/imdario/mergo v0.3.9 // indirect
|
2020-04-24 18:20:04 +02:00
|
|
|
github.com/jmespath/go-jmespath v0.3.0
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/jonboulle/clockwork v0.1.0 // indirect
|
2018-08-25 01:13:05 +02:00
|
|
|
github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/jtolds/gls v4.2.1+incompatible // indirect
|
2019-02-22 23:16:33 +01:00
|
|
|
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
|
2018-11-14 21:49:15 +01:00
|
|
|
github.com/lib/pq v1.0.0
|
2020-02-13 17:37:11 +01:00
|
|
|
github.com/likexian/gokit v0.20.15
|
2018-08-25 01:13:05 +02:00
|
|
|
github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82
|
2020-06-25 14:41:09 +02:00
|
|
|
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
|
|
|
|
github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88
|
2020-10-21 19:06:23 +02:00
|
|
|
github.com/mattn/go-colorable v0.1.8 // indirect
|
2020-10-14 19:46:54 +02:00
|
|
|
github.com/mattn/go-isatty v0.0.12
|
2019-02-22 17:54:29 +01:00
|
|
|
github.com/mattn/go-shellwords v1.0.4
|
2018-09-24 18:30:39 +02:00
|
|
|
github.com/miekg/dns v1.0.8 // indirect
|
2020-09-10 19:44:24 +02:00
|
|
|
github.com/mitchellh/cli v1.1.0
|
2019-02-21 09:57:51 +01:00
|
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
|
2019-02-12 13:06:10 +01:00
|
|
|
github.com/mitchellh/copystructure v1.0.0
|
2019-07-30 00:19:40 +02:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0
|
2019-02-21 09:59:37 +01:00
|
|
|
github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb
|
2018-09-25 20:19:23 +02:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.0
|
2020-06-17 16:47:53 +02:00
|
|
|
github.com/mitchellh/gox v1.0.1
|
2019-02-12 13:09:17 +01:00
|
|
|
github.com/mitchellh/mapstructure v1.1.2
|
2019-11-05 10:22:11 +01:00
|
|
|
github.com/mitchellh/panicwrap v1.0.0
|
2020-04-13 22:17:17 +02:00
|
|
|
github.com/mitchellh/reflectwalk v1.0.1
|
2020-06-25 14:41:09 +02:00
|
|
|
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
|
|
|
|
github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c // indirect
|
2019-07-09 21:06:20 +02:00
|
|
|
github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4
|
2020-04-24 18:20:04 +02:00
|
|
|
github.com/pkg/errors v0.9.1
|
2019-02-21 10:07:42 +01:00
|
|
|
github.com/posener/complete v1.2.1
|
2019-09-09 14:04:58 +02:00
|
|
|
github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829 // indirect
|
2018-08-27 20:26:52 +02: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-17 02:12:35 +02:00
|
|
|
github.com/soheilhy/cmux v0.1.4 // indirect
|
2020-04-13 22:17:17 +02:00
|
|
|
github.com/spf13/afero v1.2.2
|
2020-02-13 17:37:11 +01: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-17 02:12:35 +02:00
|
|
|
github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6 // indirect
|
2020-08-07 10:45:40 +02:00
|
|
|
github.com/tombuildsstuff/giovanni v0.12.0
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5 // indirect
|
2019-02-22 15:22:13 +01:00
|
|
|
github.com/xanzy/ssh-agent v0.2.1
|
2018-08-27 20:26:52 +02:00
|
|
|
github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18 // indirect
|
2018-08-25 01:13:05 +02:00
|
|
|
github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557
|
2020-10-14 16:17:22 +02:00
|
|
|
github.com/zclconf/go-cty v1.6.2-0.20201013200640-e5225636c8c2
|
2020-06-17 19:05:08 +02:00
|
|
|
github.com/zclconf/go-cty-yaml v1.0.2
|
2018-10-17 02:12:35 +02: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 10:45:40 +02:00
|
|
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
|
2020-03-27 23:32:01 +01:00
|
|
|
golang.org/x/mod v0.2.0
|
2020-06-25 14:41:09 +02:00
|
|
|
golang.org/x/net v0.0.0-20200602114024-627f9648deb9
|
2019-09-09 14:04:58 +02:00
|
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
2020-06-25 14:41:09 +02:00
|
|
|
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
|
2020-04-25 08:41:54 +02:00
|
|
|
golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371
|
2019-09-09 14:04:58 +02: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-27 02:48:57 +02:00
|
|
|
google.golang.org/grpc v1.27.1
|
2019-06-10 22:15:54 +02:00
|
|
|
gopkg.in/ini.v1 v1.42.0 // indirect
|
2020-04-13 22:17:17 +02: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 10:45:40 +02:00
|
|
|
replace k8s.io/client-go => k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
|
2019-10-11 18:50:12 +02: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-04 03:49:56 +01:00
|
|
|
go 1.14
|