Skip to content

Add metadata query to find region#2

Open
andrew-1L wants to merge 2 commits into
Accenture:masterfrom
onelogin:master
Open

Add metadata query to find region#2
andrew-1L wants to merge 2 commits into
Accenture:masterfrom
onelogin:master

Conversation

@andrew-1L

Copy link
Copy Markdown

This is useful in scenarios where secrets are located in the same region as the servers which need them

@evidex

evidex commented Mar 6, 2020

Copy link
Copy Markdown
Contributor

Adding a gem dependency to read the ec2 metadata seems quite heavy - how about using using open-uri?

@andrew-1L

Copy link
Copy Markdown
Author

@evidex Thanks, that's good feedback. I don't write a lot of ruby and saw that faraday was there on a relatively minimal puppet install, assumed it was the lib folks used. I'm having a little trouble catching connection errors but this seems to basically work

@cdenneen

cdenneen commented Sep 2, 2020

Copy link
Copy Markdown

Is this to be added?

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