Ccarver80
Ccarver80

Reputation: 39

.env gitignore? But use git for deployment?

What do I do if I have a .env file that I add to my .gitignore, but have my GitHub repo pipelined from GitHub to AWS elastic beanstalk for deployment?

Upvotes: 0

Views: 90

Answers (1)

Mark B
Mark B

Reputation: 200446

You should use Environment Variables in Elastic Beanstalk, by configuring them as properties of the Elastic Beanstalk environment, instead of depending on settings in a file.

Upvotes: 1

Related Questions