Cannot read environment variables in endpoints.yml

In my EC2 instance endpoints.yml cannot read environment variables.

In the yml file I set the env variables in the following snippet

  url: ${RASA_USER_APP}

And display the next error message

14|rasa_ap | RasaException: Error when trying to expand the environment variables in '${RASA_USER_APP}'. Please make sure to also set these environment variables: '['${RASA_USER_APP}']'.

I tried to activate and desactivate my venv and nothing changed. Display same error message

Also I changed the yml file changing ${ENV_VARIABLE} to {{ENV_VARIABLE}} or '${ENV_VARIABLE}'and display errors in the file endpoints file.

Someone have any idea what happened?