Context
The dev-side sweep that landed in #747 dropped four dead env vars from dev/dev.env.example (MODE, DEVTOOL, ENVIRON, DATABASE). Two of those (ENVIRON, DATABASE) are also still injected into the deployed stage container by Terraform in the incubator repo. Removing them in CTJ has no effect on stage until they're also removed there.
Scope
In the incubator repo at terraform/projects/civic-tech-jobs/environment-stage.tf, inside the container_environment list of the civic_tech_jobs_fullstack_stage_service module call:
{ "name" : "ENVIRON", "value" : "stage" },
{ "name" : "DATABASE", "value" : module.civic_tech_jobs_stage_database.database },
Drop both entries. No application-side change required - these values are unread in the codebase. Verified by repo grep on the CTJ side; same vars dropped from dev/dev.env.example in #747.
DATABASE duplicates SQL_DATABASE, which Django settings actually consumes.
References
Owner
TBD - pending DevOps CoP discussion.
Context
The dev-side sweep that landed in #747 dropped four dead env vars from
dev/dev.env.example(MODE,DEVTOOL,ENVIRON,DATABASE). Two of those (ENVIRON,DATABASE) are also still injected into the deployed stage container by Terraform in theincubatorrepo. Removing them in CTJ has no effect on stage until they're also removed there.Scope
In the
incubatorrepo atterraform/projects/civic-tech-jobs/environment-stage.tf, inside thecontainer_environmentlist of thecivic_tech_jobs_fullstack_stage_servicemodule call:{ "name" : "ENVIRON", "value" : "stage" }, { "name" : "DATABASE", "value" : module.civic_tech_jobs_stage_database.database },Drop both entries. No application-side change required - these values are unread in the codebase. Verified by repo grep on the CTJ side; same vars dropped from
dev/dev.env.examplein #747.DATABASEduplicatesSQL_DATABASE, which Django settings actually consumes.References
docs/decisions/0001-tooling-baseline.mdOwner
TBD - pending DevOps CoP discussion.