How to specify sensitive environment variables at deploy time with Elastic Beanstalk

后端 未结 5 1068
既然无缘
既然无缘 2020-12-23 21:42

I am deploying a Python Flask application with Elastic Beanstalk. I have a config file /.ebextensions/01.config where among other things I set some environment

5条回答
  •  情话喂你
    2020-12-23 22:19

    I have been using another shell script, something ./deploy_production.sh to set environment specific variables. In the shell script, you can use "eb setenv NAME1=VAR1 NAME2=VAR2 ..." to set env var.

    And this file doesn't need to go into git repo.

提交回复
热议问题