I have looker project which needs to be deployed in Dev, QA & Prod. I need to define environment specific constants. when code runs in dev it should check for date < 7. After the code deployed in QA, when the code runs in QA it should check for the date < 15. Same with Prod.
My question after the deployment I should not change the code but it should pick up these from environment variable. Can we use Manifest / User Attributes?
One more: Is there any way to know which environment the code runs currently?
You can use manifest file for this