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

Fetch instance metadata at startup only #38

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

kyleaa
Copy link
Owner

@kyleaa kyleaa commented May 30, 2024

Given that instance id and region will never change, and reports of random issues hitting instance metadata (#36), this moves the call to IMDS to GenServer startup only, and values will be cached in the config.

Signed-off-by: Kyle A Anderson <kyleaa@gmail.com>
@kyleaa kyleaa force-pushed the imds-at-startup branch from 3aa5e7b to 5ce3d5a Compare May 30, 2024 16:41
@kyleaa kyleaa merged commit a6ddfe4 into mainline May 30, 2024
@kyleaa kyleaa deleted the imds-at-startup branch May 30, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant