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

gefragt vor einem Jahr495 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen