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

posta un anno fa494 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande