Skip to content

First production deploy fixes: OIDC immutable subject, Aurora 16.15 - #13

Merged
Adron merged 2 commits into
mainfrom
hotfix/first-deploy
Oct 20, 2026
Merged

Adron merged 2 commits into
mainfrom
hotfix/first-deploy

Conversation

@Adron

@Adron Adron commented Oct 20, 2026

Copy link
Copy Markdown
Member

Summary

Two fixes found by the first real production deploy (also on dev, so #12 carries them too; the changes are identical and will merge cleanly):

  • CI roles trust GitHub's immutable OIDC subject. This repo issues repo:CompositeCode@38675098/substratalapps.com@1403762290:… claims; the roles trusted the name-only form, so configure-aws-credentials failed with "Not authorized to perform sts:AssumeRoleWithWebIdentity". Bootstrap Terraform change, already applied.
  • Aurora PostgreSQL pinned to 16.15. 16.6 is retired ("Cannot find version 16.6 for aurora-postgresql"). 16.15 stays on the major version CI and local dev test against.

Also ignores .claude/settings.local.json.

Test plan

  • terraform fmt -check; bootstrap plan/apply (2 in-place trust-policy updates)
  • Deploy rerun authenticated through OIDC and reached terraform apply
  • CI green; merging runs the production deploy

🤖 Generated with Claude Code

Adron and others added 2 commits October 20, 2026 13:46
The first production deploy failed with 'Not authorized to perform
sts:AssumeRoleWithWebIdentity': this repository issues immutable subject
claims (repo:CompositeCode@38675098/substratalapps.com@1403762290:...),
and the plan and deploy roles trusted the name-only form. The subject is
now a variable defaulting to the immutable form, which also means a
renamed or recreated repository can't inherit the roles. Already applied.

Also ignore .claude/settings.local.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first production apply failed: 'Cannot find version 16.6 for
aurora-postgresql'. 16.6 has been retired; 16.15 is the newest 16.x,
keeping the major version CI and local development test against
(postgres:16), and supports the Data API on Serverless v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Adron
Adron merged commit 1a8c7d4 into main Oct 20, 2026
7 of 8 checks passed
@Adron
Adron deleted the hotfix/first-deploy branch October 20, 2026 21:17
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