https://kotlinlang.org logo
#kotless
Title
# kotless
a

Abhishek Bansal

04/17/2021, 1:19 PM
[Solved] What is the best way to manage different deployment environments in Kotless? Like
staging
,
production
etc? One way that I can think of right now is to do this
Copy code
profile = System.getEnv("ENV_PROFILE")
and so on instead of hardcoding them. And how can I set some of the environment variables on lambda. Like for instance if I am writing a service which calls some other service but that other service URL depends on an environment variable. Is that kind of configuration supported?
3 Views