Was looking at the docs to set up a few apps deployed to strong-pm but ran into a cart-before-the-horse type issue:
It's not possible to set environment variables using
slc ctl env-set <service> FOO=bar...
before an app is deployed and given a service name.
This means that you are forced to run your app initially in a failure state upon first deploy, which is inconvenient and probably not a huge deal, but was curious if this is known.
Would be awesome if the slc ctl env-set
command could set up a service name just like slc deploy does, but without the deploy itself.
As an aside, was curious if slc pm-install/sl-pm-install -e "FOO=bar"
actually works to set common/shared/global env vars, but I couldn't find where these vars were set when the command was run.