Modifying already set Environment Variables in AEM Cloud
Hey all,
We have a little conundrum wherein each environment has over 150 variables configured for OSGi values.
We have a multi-tenant architecture wherein each tenant is prefixed in environment variables with _TENANTX_CM to easily identify the tenant.
However, few environment variables are incorrect and have been fixed - Basically TenantX and TenantY have same environment variable name. This has been fixed in code now.
However, the query is when we deploy this to AEM Cloud, supposedly there is a use case wherein the correct configuration is tagged to incorrect environment variable name - How can we handle that scenario?
For example TenantX and TenantY both have same environment variable name with value "ABC"
Now we are correcting the configs for both by having separate environment variables. But the default values still have to be overridden to point to "ABC" in cloud manager.
Since there are lot of variables is there any way to ensure that the transition is seamless?
I know this is confusing but let me know if I can clarify it further.
Thanks,
Nagesh