AWS CoPilot pass on the environment variables/secrets defined in service manifest to the build environment

228 views Asked by At

Is it possible to pass on environment variables/secrets defined in service manifest to the build environment (CodeBuild in the pipeline)?

variables:
  DBNAME: my_database
secrets:
  GITHUB_TOKEN: GITHUB_TOKEN
  DB_SECRET:
    secretsmanager: '${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/mysql'
0

There are 0 answers