Hello,
I am trying to ProxyPass to external server in vhost file and used environment variable (defined in Cloud Manager) to replace in vhost file as external system host domain. When I am checking Cloud Manager pipeline build logs, I can see this warning in logs
Config variable ${VAR_NAME} is not defined
But deployment went fine. Is it normal warning or could be a potential issue?
cc: @Tanika02
Solved! Go to Solution.
Views
Replies
Total Likes
Found something https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-...
Only regular environment variables can be used with the dispatcher. Secrets cannot be used.
However environment variables cannot be used in IfDefine
directives.
Please check this you might have this variable in dispatcher files.
Yes @arunpatidar I used this variable in vhost file and It's defined in Cloud Manager environment variables.
Then you need to use this variable in vhost file as
${env.VARIABLE_NAME}
I tried using this Arun, but warning persist in build logs.
Config variable ${env.VAR_NAME} is not defined
Are you on AEMaaCS or AMS?
AEMaaCS
Found something https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-...
Only regular environment variables can be used with the dispatcher. Secrets cannot be used.
However environment variables cannot be used in IfDefine
directives.
Was this actually ever resolved for you? What was the solution. The accepted answer doesn't seem to answer the question
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies