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

Popular posts from this blog

TCPDF How to show/display Chinese Character?

How to fix fancy box/Easy Fancybox scroll not work in mobile

Wordpress Load balancing: 2 web servers 1 MySQL without any Cloud services