I've a react application (generated with CRA) with a .env file containing around 10 env variables and I deployed it (react app) using AWS Amplify linked with github. Also I added the same variables (key, value) that I've in .env inside App Settings > Environment Variables in the aws amplify application. But when I open the link generated it does not use the env variables.
The way I'm accessing those variables is process.env.{VARIABLE_IN_ENV_NAME} (as usual). Locally it's working fine, on heroku working fine too but in AWS Amplify I'm not able to make it work.