Dispatcher core:warn Config variable ${VAR_NAME} is not defined | Community
Skip to main content
iamnjain
Community Advisor
Community Advisor
August 22, 2023
Solved

Dispatcher core:warn Config variable ${VAR_NAME} is not defined

  • August 22, 2023
  • 1 reply
  • 1759 views

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

arunpatidar

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

AEMaaCS


Found something https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/environment-variables.html?lang=en#using 

 

Dispatcher

Only regular environment variables can be used with the dispatcher. Secrets cannot be used.

However environment variables cannot be used in IfDefine directives.

TIP

You should validate your use of environment variables with the dispatcher locally before deploying.

 

 

1 reply

arunpatidar
Community Advisor
Community Advisor
August 22, 2023

Please check this you might have this variable in dispatcher files.

Arun Patidar
iamnjain
Community Advisor
iamnjainCommunity AdvisorAuthor
Community Advisor
August 23, 2023

Yes @arunpatidar I used this variable in vhost file and It's defined in Cloud Manager environment variables.

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 24, 2023

AEMaaCS


Found something https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/environment-variables.html?lang=en#using 

 

Dispatcher

Only regular environment variables can be used with the dispatcher. Secrets cannot be used.

However environment variables cannot be used in IfDefine directives.

TIP

You should validate your use of environment variables with the dispatcher locally before deploying.

 

 

Arun Patidar