-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update how we perform deployments to set environment variables
Previously we didn't define any environment variables at deploy time; instead we set them manually. A configuration change when we moved from Python 3.9 to 3.11 caused SAM to redefine the infrastructure, and this in turn caused a all existing environment variables to be wiped, bringing down the staging ingester. This PR moves to defining the environment variables in the `template.yml` file which is used by SAM. The exact values are passed in at deploy time by GitHub Actions as part of configuring the infrastructure. Variables are stored in GitHub environments.
- Loading branch information
1 parent
f7e06d1
commit 2409e83
Showing
3 changed files
with
61 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters