Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Let it work when no metadata is available #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BEvgeniyS
Copy link

As per EKS security best practices, we'd like to restrict access to EC2 metadata. Serviceaccount roles allow to assume IAM roles by pods.
Unless I'm missing something, there's no reason for the program to fail when there's no metadata

This adds an option to override the region using standard environment variables - AWS_DEFAULT_REGION or AWS_REGION

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant