Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump terraform-provider-aws (1.14.1) and aws-sdk-go (1.13.28) #17901

Merged
merged 1 commit into from
Jul 30, 2018

Conversation

elblivion
Copy link
Contributor

Followed #17428 to do this.

We have need of this functionality (hashicorp/terraform-provider-aws#2883) also for remote state, hopefully this PR should be enough.

Cheers

@elblivion
Copy link
Contributor Author

make test passes, and we've validated in local testing that the desired functionality works! 🎉

@elblivion
Copy link
Contributor Author

Whoops, didn't notice #17896 had been opened while I was fighting with my golang dev setup. This build passes though :-D

@danbf
Copy link

danbf commented Apr 30, 2018

need this too for the webacl regional support. @apparentlymart @bflad how would we get this merged? https://github.com/terraform-providers/terraform-provider-aws/releases is moving fast and us peeps need the support for the new things.

@elblivion
Copy link
Contributor Author

@danbf you shouldn't need this update to be able to use the newer plugin versions - just do terraform init -upgrade and make sure you're not pinning the plugin version in your config (https://www.terraform.io/docs/configuration/providers.html#provider-versions)

The aim of this PR is to be able to use newer AWS SDK functionality in Remote State, Terraform itself uses the provider as a library in order to access S3 & DynamoDB.

That being said, we're still blocked in our specific use case (use of profiles defined in ~/.aws/config) due to this.

@twang-rs
Copy link

twang-rs commented May 7, 2018

Also waiting eagerly to get this merged. It’s a very small PR and solves many problems. What can we do to speed this along?

@danbf
Copy link

danbf commented May 8, 2018

@tombuildsstuff how do we get this or a similar plugin version update merged?

@tombuildsstuff tombuildsstuff added the dependencies Auto-pinning label May 9, 2018
@tombuildsstuff tombuildsstuff requested a review from bflad May 9, 2018 03:28
@elblivion
Copy link
Contributor Author

Hi, we're really keen on this making it to 0.11.8 so we can better manage our multi-account environment. :-)

Anything else we can provide to speed this up?

Thanks!

@bflad
Copy link
Contributor

bflad commented May 18, 2018

If we release Terraform 0.11.8 then this will get in beforehand, otherwise it will be going into 0.12.0.

@elblivion
Copy link
Contributor Author

Hi, any news on this? Where can I find out more about the release schedule/plans? Thanks!

@apparentlymart
Copy link
Contributor

@bflad if this looks okay to you then feel free to merge this now, and we can include it in the next release. It doesn't seem like it includes any breaking changes, so no need to hold off to merge for the 0.12.0 release unless you know of something I don't!

I think you'd mentioned to me that there were other AWS provider changes upstream that are not covered by this PR because they came later, so if you'd rather instead merge a newer vendor update then that's fine by me too, again as long as there aren't any breaking changes in the code we'd be using from upstream then.

@bflad
Copy link
Contributor

bflad commented Jul 30, 2018

Thanks @apparentlymart! I'll double check this PR for correctness. If its good I'll merge it so the original submitter gets credit then submit a followup update. Otherwise, I'll close this one and submit a PR to supersede this with the latest updates. 😄

Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor feedback item probably due to the ordering of govendor commands, but otherwise LGTM. Since its minor (no material file changes to the actual dependencies) I will add a followup commit on merge to adjust the vendor.json appropriately. 🚀

As far as I can tell, the CHANGELOG updates will be under enhancements:

* backend/s3: Allow fallback to session-derived credentials (e.g. session via `AWS_PROFILE` environment variable and shared configuration)
* backend/s3: Allow usage of `AWS_EC2_METADATA_DISABLED` environment variable

},
{
"checksumSHA1": "smOJ/rypXb18/Rjryf2a85paSa4=",
"path": "github.com/aws/aws-sdk-go/service/organizations",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: These new dependencies were pulled in via git revision instead of a matching tag similar to the rest of the aws/aws-sdk-go dependencies.

diff --git a/vendor/vendor.json b/vendor/vendor.json
index f9ca8daff..90de5b930 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -903,8 +903,10 @@
 		{
 			"checksumSHA1": "AO97b1GChOs2geiFc//6YcpVfX8=",
 			"path": "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice",
-			"revision": "f63b41ba024702aca32b063327a0852f9758d914",
-			"revisionTime": "2018-04-19T23:04:09Z"
+			"revision": "7f68df2a5baf19398d17def23a514a6e617e5937",
+			"revisionTime": "2018-04-04T18:37:54Z",
+			"version": "v1.13.28",
+			"versionExact": "v1.13.28"
 		},
 		{
 			"checksumSHA1": "jyxQ6TEdSl9/j7qC0LCkVMSXkog=",
@@ -941,8 +943,10 @@
 		{
 			"checksumSHA1": "smOJ/rypXb18/Rjryf2a85paSa4=",
 			"path": "github.com/aws/aws-sdk-go/service/organizations",
-			"revision": "f63b41ba024702aca32b063327a0852f9758d914",
-			"revisionTime": "2018-04-19T23:04:09Z"
+			"revision": "7f68df2a5baf19398d17def23a514a6e617e5937",
+			"revisionTime": "2018-04-04T18:37:54Z",
+			"version": "v1.13.28",
+			"versionExact": "v1.13.28"
 		},
 		{
 			"checksumSHA1": "vL235vodhgG61BkUxRD4B7io+zk=",

@bflad bflad merged commit ab6d52a into hashicorp:master Jul 30, 2018
bflad added a commit that referenced this pull request Jul 30, 2018
@elblivion elblivion deleted the update-aws branch July 31, 2018 06:54
@elblivion
Copy link
Contributor Author

Fantastic, thanks! 🎉

xiaozhu36 pushed a commit to xiaozhu36/terraform that referenced this pull request Aug 9, 2018
xiaozhu36 pushed a commit to xiaozhu36/terraform that referenced this pull request Aug 9, 2018
@RevREB
Copy link

RevREB commented Aug 13, 2018

@apparentlymart @bflad I do love that the issue i had with terraform appears to already have a patch in flight... I'm wondering when (as in # of days) till this is expected to be released? I saw that 0.12.0 but...

@apparentlymart
Copy link
Contributor

There will be a new 0.11 release containing this in the very near future.

@RevREB
Copy link

RevREB commented Aug 13, 2018

oh please let it be later tonight... that would make life so much better :p

@ghost
Copy link

ghost commented Apr 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants