Skip to content

[codex] Automate Arcade production deployment#2

Merged
JeremyDemers merged 1 commit into
mainfrom
codex/automate-production-deploy
Jun 30, 2026
Merged

[codex] Automate Arcade production deployment#2
JeremyDemers merged 1 commit into
mainfrom
codex/automate-production-deploy

Conversation

@JeremyDemers

Copy link
Copy Markdown
Owner

What changed

  • Adds a production deployment job after the existing frontend and serverless CI jobs pass on main.
  • Builds and updates only the arcade-prod-api Lambda, then verifies its health endpoint.
  • Uses GitHub OIDC and a repository-specific least-privilege AWS role instead of stored access keys.
  • Updates the workflow actions to their current major versions and documents continuous deployment.

Why

The production API was deployed manually. Merged application changes should reach AWS reproducibly without granting GitHub Terraform administrator access.

Impact

Pull requests remain test-only. A successful push to main deploys the Arcade Lambda code; infrastructure changes still require a reviewed local Terraform apply.

Validation

  • actionlint passed
  • YAML lint passed
  • Lambda package built successfully
  • 5 serverless API tests passed
  • Least-privilege IAM simulation allows Lambda updates and denies unrelated S3 access

@JeremyDemers JeremyDemers marked this pull request as ready for review June 30, 2026 01:39
@JeremyDemers JeremyDemers merged commit a40333b into main Jun 30, 2026
4 checks passed
@JeremyDemers JeremyDemers deleted the codex/automate-production-deploy branch June 30, 2026 01:40
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