-
Notifications
You must be signed in to change notification settings - Fork 343
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
[PR #2209/5756ac43 backport][stable-8] Add option "metadata_token_ttl_seconds" to ec2_metadata_facts module. #2210
Conversation
…#2209) Fixes: #2205 SUMMARY ec2_metadata_facts sometimes returns 401 unauthorized if the IMDSv2 token times out. The token TTL is currently hardcoded to 60, this pull request aims to make it configurable. ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_metadata_facts Reviewed-by: Mark Chappell (cherry picked from commit 5756ac4)
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
Build failed. ✔️ ansible-galaxy-importer SUCCESS in 4m 29s |
recheck |
Build failed. ✔️ ansible-galaxy-importer SUCCESS in 4m 32s |
recheck |
Build failed. ✔️ ansible-galaxy-importer SUCCESS in 3m 24s |
recheck |
This change depends on a change that failed to merge. Change #2258 is needed. |
Build succeeded (gate pipeline). ✔️ ansible-galaxy-importer SUCCESS in 5m 09s |
f5f3bc5
into
stable-8
This is a backport of PR #2209 as merged into main (5756ac4).
Fixes: #2205
SUMMARY
ec2_metadata_facts
sometimes returns401 unauthorized
if the IMDSv2 token times out. The token TTL is currently hardcoded to60
, this pull request aims to make it configurable.ISSUE TYPE
COMPONENT NAME
ec2_metadata_facts