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

Terraform appears to be hanging while performing 25 attempts due to 403 error (MFA) #9601

Closed
amirabiri opened this issue Aug 2, 2019 · 3 comments
Labels
bug Addresses a defect in current functionality. provider Pertains to the provider itself, rather than any interaction with AWS. stale Old or inactive issues managed by automation, if no further action taken these will get closed.

Comments

@amirabiri
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v0.12.6
+ provider.aws v2.21.1

Debug Output

tf-debug.log

(Removed potentially sensitive bits from the log and replaced with **SNIPPED**).

Expected Behavior

Terraform should exit immediately and report a 403, as it does with other 403-related errors.

Actual Behavior

Terraform appears to hang while performing 25 retries each resulting in a 403 due to the MFA token having expired.

Steps to Reproduce

  1. Perform login to AWS with MFA
  2. Wait for MFA token to expire
  3. terraform apply

Important Factoids

Using MFA from the CLI (Google Authenticator, aws cli session token).

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 2, 2019
@aeschright aeschright added provider Pertains to the provider itself, rather than any interaction with AWS. bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Dec 20, 2019
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

@github-actions github-actions bot added the stale Old or inactive issues managed by automation, if no further action taken these will get closed. label Dec 9, 2021
@github-actions github-actions bot closed this as completed Jan 9, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2022
@YakDriver
Copy link
Member

This is closed by events. See hashicorp/aws-sdk-go-base#362 for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. provider Pertains to the provider itself, rather than any interaction with AWS. stale Old or inactive issues managed by automation, if no further action taken these will get closed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants