vault-action
vault-action copied to clipboard
[BUG] Intermittant: "Error message: Failed to get ID Token."
Before I invest time in this, would you be open to contributions here?
Vault server version
1.15.2
vault-action version
v2.8.0
Describe the bug
In the last two weeks we've seen more occurrences of this. https://github.com/hashicorp/vault-action/blob/9f522b85981b491eab9a52c144d15aedbd0bf371/src/auth.js#L38 This line is failing.
Error: Error message: Failed to get ID Token.
Error Code : undefined
Error Message:
To Reproduce
It's likely an underlying github issue and happens more frequently recently.
Expected behavior
Just retry the idToken retrieval.
Log Output
Additional context
Add any other context about the problem here. Others have implemented retries, too: https://github.com/aws-actions/configure-aws-credentials/issues/469 https://github.com/aws-actions/configure-aws-credentials/blob/a5dceb9b44a45021a99d8625cf6bc63214e8114c/src/index.ts#L112
somewhat related PR: #442
same problem for me as well