Skip to content

Conversation

bendu
Copy link
Contributor

@bendu bendu commented Nov 16, 2021

Issue #, if available:

Description of changes: Currently, the region must be explicitly set and cannot be inferred. I'm configuring the client to check EC2 instance metadata endpoint (which is available in EKS) for the region if checking the environment variable and config file fail.

I've tested this change on a EKS cluster and confirmed that I can both explicitly set the region through environment variable and let the controller infer the region its in. I also tested the config file code path by running the controller directly on my laptop.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@astaticvoid
Copy link
Contributor

Looks great, thanks!

@bendu bendu merged commit 122e3aa into aws:main Nov 16, 2021
@bendu bendu deleted the ir branch November 16, 2021 17:22
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.

3 participants