terraform/vendor/github.com/hashicorp
Brian Flad ba081aa10a
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 16:41:32 -04:00
..
aws-sdk-go-base backend/s3: Updates for Terraform v0.13.0 (#25134) 2020-06-05 16:41:32 -04:00
consul update consul api packages 2017-10-28 19:44:10 -04:00
errwrap vendor: Update HCL2 and cty, and other related packages 2018-10-16 19:14:11 -07:00
go-azure-helpers vendor: upgrade Azure SDK and Azure/go-autorest 2019-12-02 10:04:49 -08:00
go-checkpoint vendor: github.com/hashicorp/go-checkpoint@v0.5.0 2019-02-21 08:50:02 +00:00
go-cleanhttp go mod tidy & go mod vendor 2019-10-11 22:41:27 +01:00
go-getter update go-getter 2020-01-06 20:44:02 -05:00
go-hclog update go-plugin and hclog 2018-10-16 19:14:11 -07:00
go-multierror vendor: Update HCL2 and cty, and other related packages 2018-10-16 19:14:11 -07:00
go-plugin command: Unmanaged providers 2020-05-26 17:48:57 -07:00
go-retryablehttp gomod: update `go-tfe` 2019-04-08 11:13:14 +02:00
go-rootcerts vendor: github.com/hashicorp/go-rootcerts@v1.0.0 2019-02-21 08:54:14 +00:00
go-safetemp vendor: github.com/terraform-providers/terraform-provider-aws@v1.58.0 2019-02-12 16:32:22 +00:00
go-slug Point to updated go-tfe 2019-11-15 14:14:17 -05:00
go-tfe go get github.com/hashicorp/go-tfe@v0.8.1 + vendor 2020-05-19 11:14:27 -07:00
go-uuid gomod: update `go-tfe` 2019-04-08 11:13:14 +02:00
go-version go mod vendor; go mod tidy 2019-10-17 11:14:30 -04:00
golang-lru modules: update Azure deps to latest 2019-07-30 09:12:14 -07:00
hcl vendor: go get github.com/hashicorp/hcl/v2@v2.5.1 2020-05-14 09:36:28 -04:00
hil vendor: github.com/hashicorp/hil@latest 2019-02-12 15:56:22 +00:00
serf vendor: update to latest github.com/zclconf/go-cty 2018-10-16 19:14:11 -07:00
terraform-config-inspect Mildwonkey/tfconfig upgrade (#23670) 2020-01-10 11:54:53 -05:00
terraform-svchost go mod tidy & go mod vendor 2019-10-11 22:41:27 +01:00
vault vendor: github.com/terraform-providers/terraform-provider-aws@v1.58.0 2019-02-12 16:32:22 +00:00
yamux update vendor from go.mod 2018-12-05 20:30:16 -05:00