USDAForestService / fs-open-forest-platform

Open Forest: The code for an online permitting platform for the U.S. Forest Service.
https://openforest.fs.usda.gov
Other
38 stars 19 forks source link

Ensure variables that were in cloud.gov match to AWS #1583

Open carlsonem opened 3 years ago

carlsonem commented 3 years ago

Notes

Acceptance Criteria

Tasks

Definition of Done

briandavidson commented 3 years ago

@mwreiss @carlsonem

The environment variables used in the server application are referred to as "VCAP" and they are generated in vcap-constants.es6 from a combination of querying process.env directly and reading in values from environment configuration files.

These then get consumed by services throughout the application like in this example for newrelic.

We might need to update those configuration files with the values for AWS once we have them. Other than that I think we will need to ensure that the environment variables are getting set correctly wherever that happens in the deployment process, presumably Jenkins.