fix(ci): load E2E role from Secrets Manager - #45
Closed
Hweinstock wants to merge 1 commit into
Closed
Hweinstock wants to merge 1 commit into
Hweinstock wants to merge 1 commit into
Conversation
Hweinstock
force-pushed
the
fix/e2e-role-secret
branch
from
September 21, 2026 22:05
76efd1c to
4d60ce5
Compare
Hweinstock
force-pushed
the
fix/e2e-role-secret
branch
from
September 21, 2026 22:09
4d60ce5 to
411eeab
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
E2E_AWS_ROLE_ARNfrom Secrets Manager inside each E2E matrix job.aws-actions/configure-aws-credentials@v6.vars.E2E_ROLE_ARNconfiguration.This mirrors the established
mainE2E workflow.Resulting flow
GitHub matrix jobs do not share process environments, so Linux, Windows, and macOS each fetch the role ARN independently.
Evidence
The shared workflow previously used:
E2E_ROLE_ARNis not defined as a repository variable or as ane2e-testingenvironment variable. Organization-variable visibility requires organization-admin permission, so its availability could not be verified.The established
mainworkflow instead fetchesE2E_AWS_ROLE_ARNwith the same pinnedfetch-secretsaction and then uses:This PR adopts that known path.
Separate IAM prerequisite
The original failing
e2e / authorizejob failed before E2E-role retrieval because the workflow Secrets Manager reader role did not trust therefactorbranch's OIDC subject. This code change does not broaden that role's trust policy; the reader role must permit every branch or environment expected to callfetch-secrets.Validation
bunx prettier --check .github/workflows/e2e-test.ymlbun run lint:checkbun run typecheckbun run buildgit diff --check