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

Fail silently when account validation fails while from instance profile #3001

Merged
merged 2 commits into from
Sep 8, 2015
Merged

Fail silently when account validation fails while from instance profile #3001

merged 2 commits into from
Sep 8, 2015

Conversation

sarguru
Copy link
Contributor

@sarguru sarguru commented Aug 14, 2015

As far as I know, cross account IAM instance profiles are not possible, so when iam.GetUser() fails for non-User credentials , its better that it fails silently and prints the warning instead of halting the entire run.
This is similar to #2959. If there are better ways of handling (or if its better to explicitly specify) this that would be great aws well. Thanks !

…red while authenticating via iam profile instance
@bobtfish
Copy link
Contributor

👍 we definitely want this to make instance profiles work correctly

@apparentlymart
Copy link
Contributor

The logic seems reasonable. 👍

It'd be awesome if you could run your code through go fmt to make it conform to the code style used elsewhere in Terraform.

@sarguru
Copy link
Contributor Author

sarguru commented Aug 17, 2015

thanks @apparentlymart . Done 👍

@phinze
Copy link
Contributor

phinze commented Sep 8, 2015

LGTM

phinze added a commit that referenced this pull request Sep 8, 2015
Fail silently when account validation fails while from instance profile
@phinze phinze merged commit 8559b02 into hashicorp:master Sep 8, 2015
@ghost
Copy link

ghost commented May 1, 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 May 1, 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.

5 participants