You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS credentials regenerated and terraform refresh/plan should run successfully
Actual Behavior
Just hangs for eternity. It keeps looping over dag/walk: vertex ... shown at the end of debug.
Steps to Reproduce
Run 'terraform refresh/apply(whatever that generates/updatestfstate`, should work first time).
Wait until lease time for STS token expire.
Run again terraform refresh/plan (will hang forever - cancel).
Manually remove data.vault_generic_secret.aws_creds section from tfstate.
Run once again terraform refresh/plan (will work this time).
Important Factoids
When running first time it runs successfully and do refresh tfstate or outputs a plan. Reruns also works fine until lease time for credentials expires, then it behaves like debug shows.
What bothers me is also the fact that is saves credentials generated by Vault in tfstate:
This is talked about in issue #516 and is directly connected with this problem because in order to make plan and refresh commands work again I have to manually delete those stale credentials from tfstate.
I'm going to tag this for the vault provider for now. It seems that the vault data source is being read correctly, but the credentials aren't being refreshed.
This issue has been automatically migrated to hashicorp/terraform-provider-vault#9 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to this issue and let us know.
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
locked and limited conversation to collaborators
Apr 8, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.10.0
Terraform Configuration Files
Debug Output
https://gist.github.com/Yuxael/9f3c0ff87f26053688a3bb6d8420877d
Expected Behavior
AWS credentials regenerated and
terraform refresh/plan
should run successfullyActual Behavior
Just hangs for eternity. It keeps looping over
dag/walk: vertex ...
shown at the end of debug.Steps to Reproduce
(whatever that generates/updates
tfstate`, should work first time).terraform refresh/plan
(will hang forever - cancel).data.vault_generic_secret.aws_creds
section fromtfstate
.terraform refresh/plan
(will work this time).Important Factoids
When running first time it runs successfully and do refresh
tfstate
or outputs a plan. Reruns also works fine until lease time for credentials expires, then it behaves like debug shows.What bothers me is also the fact that is saves credentials generated by Vault in
tfstate
:This is talked about in issue #516 and is directly connected with this problem because in order to make
plan
andrefresh
commands work again I have to manually delete those stale credentials fromtfstate
.References
The text was updated successfully, but these errors were encountered: