Deployment variables only accept values explicitly pre-defined in the deployment section according to our documentation. Users would like to be able to setup environments automatically using environment variables or just select an already created environment without editing the YAML file.
- Setup an environment variable called TARGET_ENV
- Edit the YAML file with below example code
Create a deployment environment and its variables if it still does not exist by defining it on the yaml file, either through an environment variable or giving it providing the deployment tag the name of a deployment environment that currently does not exist.
Manually create the deployment environment and setup the YAML file with that environment name.