Skip to content

Commit

Permalink
pkg/terraform/exec/plugins: Bump Terraform AWS to 2.36.0
Browse files Browse the repository at this point in the history
Also bump the AWS SDK to the latest 1.25.35.  Changelogs in [1,2].
Among other things, this brings in a fix for the eventual-consistency
race [3,4]:

  level=error msg="Error: \"terraform-20191008145747927600000001\": NoSuchBucket: The specified bucket does not exist"
  level=error msg="\tstatus code: 404, request id: BCC3822AF0933B5C, host id: QVhV5kSr/ztRk3204PNQoVKN6jT7LY0Pk2vJHEKBdG5W4Eok9T+JmZXj8M/1XtBDP5fYEC4HcOI="
  level=error
  level=error msg="  on ../tmp/openshift-install-302978166/bootstrap/main.tf line 1, in resource \"aws_s3_bucket\" \"ignition\":"
  level=error msg="   1: resource \"aws_s3_bucket\" \"ignition\" {"

Generated with:

  $ cd pkg/terraform/exec/plugins
  $ emacs Gopkg.toml  # terraform-provider-aws -> =2.36.0
  $ dep ensure
  Solving failure: No versions of github.com/aws/aws-sdk-go met constraints:
    v1.19.26: Could not introduce github.com/aws/aws-sdk-go@v1.19.26 due to multiple problematic subpackages:
    Subpackage github.com/aws/aws-sdk-go/service/applicationinsights is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/forecastservice is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/iotevents is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/lakeformation is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/personalize is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/qldb is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/servicequotas is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)
    ...
  $ emacs Gopkg.toml  # aws-sdk-go -> =1.25.35, the latest per https://github.com/aws/aws-sdk-go/tags https://github.com/aws/aws-sdk-go/blob/v1.25.35/CHANGELOG.md
  $ dep ensure

using:

  $ dep version
  dep:
   version     : v0.5.1
   build date  : 2019-03-20
   git hash    : faa61893
   go version  : go1.10.3
   go compiler : gc
   platform    : linux/amd64
   features    : ImportDuringSolve=false

[1]: https://github.com/terraform-providers/terraform-provider-aws/blob/v2.36.0/CHANGELOG.md#2360-november-14-2019
[2]: https://github.com/aws/aws-sdk-go/blob/v1.25.35/CHANGELOG.md
[3]: https://bugzilla.redhat.com/show_bug.cgi?id=1759617#c10
[4]: hashicorp/terraform-provider-aws#10863 (comment)
  • Loading branch information
wking committed Nov 15, 2019
1 parent 36b066c commit 9bba2bd
Show file tree
Hide file tree
Showing 2,388 changed files with 497,599 additions and 54,938 deletions.
479 changes: 466 additions & 13 deletions pkg/terraform/exec/plugins/Gopkg.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/terraform/exec/plugins/Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ ignored = [

[[constraint]]
name = "github.com/terraform-providers/terraform-provider-aws"
version = "=2.10.0"
version = "=2.36.0"

[[override]]
name = "github.com/aws/aws-sdk-go"
version = "=1.19.26"
version = "=1.25.35"

[[override]]
name = "github.com/kubernetes-sigs/aws-iam-authenticator"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9bba2bd

Please sign in to comment.