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

is it possible to pass in HTTP_BACKEND_LIST instead of HTTP_BACKEND_xx? #2

Open
CalvinWong-Reflektion opened this issue May 8, 2017 · 2 comments

Comments

@CalvinWong-Reflektion
Copy link

so i have a list of backend nodes in prod, not in dev/staging. i want to pass the list of nodes with 1 variable instead of _xx _xy etc.

the reason i want to know is that because i am generating the variables in terraform.
i tried having 3 keys HTTP_BACKEND_x{x,y,z} but since dev only has _xx, xy/xz are blank and i end up with -

output = [
    { name = "influxdb_a", location = "http://dev-influxdb-01.dev.company.com:8086/write" },
{ name = "influxdb_b", location = "http:///write" },
{ name = "influxdb_c", location = "http:///write" },

]
@ndegory
Copy link
Collaborator

ndegory commented May 9, 2017

that would be another way to do it, unfortunately we are not currently using the proxy anymore, so we don't plan to update it. A PR would be welcome, thank you.

@CalvinWong-Reflektion
Copy link
Author

i see. what are you guys using?

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

No branches or pull requests

2 participants