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

demandé il y a un an495 vues
1 réponse
1
Réponse acceptée

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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions