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

backend/s3: Support credential_process argument #21120

Closed
llamahunter opened this issue Apr 26, 2019 · 5 comments
Closed

backend/s3: Support credential_process argument #21120

llamahunter opened this issue Apr 26, 2019 · 5 comments

Comments

@llamahunter
Copy link

Terraform Version

v0.11.13

Terraform Configuration Files

unimportant... but using backend s3 configuration, where aws config uses credential_process

Crash Output

Initializing the backend...

Error configuring the backend "s3": NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Please update the configuration in your Terraform files to fix this error
then run this command again.

Expected Behavior

AWS config with credential_process should work

Actual Behavior

aws-sdk-go in terraform core too old (< v1.16.0)

Steps to Reproduce

set up an s3 backend with a ~/.aws/config specifying a credential_process for the profile

Additional Context

This appears to be already fixed in the v0.11 branch. We just need a v0.11.14 release.

References

@llamahunter
Copy link
Author

@lorengordon
Copy link
Contributor

@apparentlymart
Copy link
Contributor

Hi @llamahunter,

We have an upgrade AWS SDK. I'm not familiar enough with the AWS SDK releases to know if that was sufficient to get what you wanted here, but it sounds like you had previously checked that the necessary code was on the v0.11 branch, in which case that code is now indeed in the v0.11.14 release.

I'm not familiar with the credential_process feature so I don't know how to verify whether it's working... if you still have whatever setup you used to see it not working when you originally filed this and are able to verify that it's now fixed, that'd be much appreciated!

@apparentlymart apparentlymart changed the title Need aws-sdk-go v1.16.0 or later in terraform core v0.11 backend/s3: Support credential_process argument May 17, 2019
@llamahunter
Copy link
Author

Yes, I verified that aws credential_process works with the latest release 0.11.14 when using s3 backend configuration.

@ghost
Copy link

ghost commented Jul 25, 2019

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 Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants