Skip to content

chore: Point stage deploy at the renamed ECS service - #755

Merged
ale210 merged 1 commit into
developfrom
chore/rename-stage-ecs-service
Sep 13, 2026
Merged

ale210 merged 1 commit into
developfrom
chore/rename-stage-ecs-service

Conversation

@ale210

@ale210 ale210 commented Sep 13, 2026

Copy link
Copy Markdown
Member

Related to hackforla/incubator#227 (no CivicTechJobs issue).

Changes

Timing matters. This workflow only runs on a push to main, so this change does nothing until the next develop → main release — and that release will be the workflow's first run. If a release reaches main without this change after the incubator apply, or with it before the apply, the image build and push still succeed but the redeploy step fails because the service it names does not exist. Check with the DevOps CoP before releasing.

Screenshots, if applicable

N/A — CI change only.

Incubator is renaming the stage service from civic-tech-jobs-fs-stage to civic-tech-jobs-fullstack-stage (hackforla/incubator#227). Without this, the redeploy step would target a service that no longer exists.
ale210 added a commit to hackforla/incubator that referenced this pull request Sep 13, 2026
Closes #227.

Spells the civic-tech-jobs stage container's application type out as
`fullstack` again, reversing `1f13c57`. The `fs` abbreviation existed
only to fit the target group's 32-character limit, which the container
module now handles itself (#231), so the service, log group, security
group and IAM names can match the ECR repository and Postgres roles.

**This apply has downtime.** An ECS service name forces replacement, so
`stage.civictechjobs.org` goes down while the service is destroyed and
recreated.

What the plan should show, and nothing else:

- ECS service, task definition, log group, security group, IAM role and
task policy replaced, all renamed `civic-tech-jobs-fs-stage` →
`civic-tech-jobs-fullstack-stage`
- target group `civic-tech-jobs-fs-stage-145` → `ctj-fs-stage-145` as
`+/-` (create before destroy) — the full name would be 35 characters, so
the ladder drops to rung 2; listener rule 200 updated in place
- **no change** to `module.civic_tech_jobs_stage_database` — it already
uses `fullstack`, so its roles, passwords and SSM parameters must not
appear. If they do, stop.

Also updates the container module's header comment (and README) to say
civic-tech-jobs now falls to rung 2 alongside civic-tech-index.

**The CivicTechJobs deploy workflow names the old service** and is fixed
in hackforla/CivicTechJobs#755. That only takes effect when their
`develop` is next released to `main`, so their next release needs to be
coordinated with this apply, or its redeploy step will target a service
that does not exist.
@ale210
ale210 merged commit 601ea86 into develop Sep 13, 2026
3 checks passed
@ale210
ale210 deleted the chore/rename-stage-ecs-service branch September 13, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant