To add environment variables:
3. In the resulting form, enter the name and value of the variable. Variable names can only contain letters, numbers, and underscores, and may not begin with a number. Click Submit to save your new variable.
4. Your newly-added variable appears in the list of variables.
Environment variables are updated and reflected in the environment code after completion of the Update Environment Variable task. The success of this update depends on the application's framework, as some frameworks may require a redeployment to apply the new environment variables.
For example, for Next.js, newly added/updated environment variables reflect in an application after the application is redeployed.