You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've got a extensive setup with environment variables, my application has multiple environments (LOCAL, DEV, etc), organizations (Italy, Indonesia, ...) and each organization has at least one application (web, mobile, etc).
My environments look like this
But I still have to manually change a bunch of variable on each environment when I want to switch organizations and app. The best setup I could come out with was this:
And the other envs are for the base url and other credentials.
And in my requests I use base_url_from_envs/{{ _.general.organization }}/{{ _.general.application }}, it's fine-ish but if I want to change application or organization I have to go an manually change the variables (At least I can do it with a dropdown), the example is simplified but there are quite a lot.
I was wondering if there's a way to use subfolders in the enviroments variables, that would be ideal, then I could have something like
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I've got a extensive setup with environment variables, my application has multiple environments (LOCAL, DEV, etc), organizations (Italy, Indonesia, ...) and each organization has at least one application (web, mobile, etc).
My environments look like this
But I still have to manually change a bunch of variable on each environment when I want to switch organizations and app. The best setup I could come out with was this:
In the base environment:
And the other envs are for the base url and other credentials.
And in my requests I use
base_url_from_envs/{{ _.general.organization }}/{{ _.general.application }}
, it's fine-ish but if I want to change application or organization I have to go an manually change the variables (At least I can do it with a dropdown), the example is simplified but there are quite a lot.I was wondering if there's a way to use subfolders in the enviroments variables, that would be ideal, then I could have something like
Beta Was this translation helpful? Give feedback.
All reactions