Elastic beanstalk and env variables

0

I need to deploy to Elastic Beanstalk a next.js application which reads some values from a .env file in my local dev environment.

I was suggested to use a .config extension, but I don't want to put this file under version control.

Is there any other option? AWS secrets manager is a bit expensive so I'd prefer not to use it.

thanks M

asked a year ago456 views
1 Answer
1
Accepted Answer

With above constraints, a possible option is to then use SSM Parameter Store secure strings.

It tends to be generally cheaper than Secrets Manager. To decide whether that cheaper is enough for you to choose it over Secrets Manager, you can look at its price under the "Paramster Store" sub section: https://aws.amazon.com/systems-manager/pricing/

Refer to this article to learn about SSM parameter store secrets strings: https://docs.aws.amazon.com/kms/latest/developerguide/services-parameter-store.html

profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions