Is there anything down the line to make environment variables more flexible to allow like a JSON of Strings?
That way we don't have to maintain separate variables for doing similar operations for different sites. e.g. I can have ten loggers writing to error.log but would want to set only one of them to Debug at a given point in time. Currently, I would need an environment variable for each Logger or a generic Log Level variable that will set all logs to same level. Changing generic variable level to Debug will set it for all ten sites at once which may not be the intention.
Is there anything already available to achieve such a use case?
@rampai I'm not sure how it relates to the use case you're describing, but aside from length limitations, there's no reason you can't store a JSON object encoded as a String in an environment variable. The only issue I can imagine is that when using the Cloud Manager CLI it might be hard to get the escaping right on the command line. In this context the --jsonStdin or --jsonFile flags might be easier to work with.