Environment specific configuration for Adobe IO runtime project
Requirement : We need to create and read environment specific configurations on Adobe IO project i.e WCS Commerce API urls and different namespace based on different environment(Dev, Prod)
We followed steps provided in document
Steps:
1- Created .env file in workspace.
2- Provided AIO_RUNTIME_APIHOST , AIO_RUNTIME_AUTH and AIO_RUNTIME_NAMESPACE
3- Deployed code base .
Issue 1: Unable to pick credentials provided in .env file.
Issue 2: How to read environment specific variables in node.js code base .