Declare a parameter
PARAM_MODE and the explicit APP_MODE mapping. For incremental release preparation, missing required values, values outside declared options, invalid validation patterns, and invalid environment names fail validation.
Use the setting
Read the mapped variable from your application and deploy from the local manifest directory. Explicit app environment values can override parameter-derived variables, so avoid declaring a conflictingenv.APP_MODE unless intentional.
After deployment, inspect the app’s parameter settings with rig app param ls --app <APP_NAME> and verify the application uses the selected behavior. Recipe-backed apps can expose parameter controls and reconfiguration hooks; consult catalog apps for that flow.
Do not rely on a parameter label or type alone to enforce a security boundary. Validate inputs in the application too. The configuration reference describes the field relationships.