NodeJS dotenv .env: Which comes first? .env or environment var defined in Cloudformation?
As of this writing, in short:
- Cloud formation comes first.
- If you are using dotenv (.env), and you define the same variable as in your cloud formation template, cloud formation template will override the value in your .env
Comments