Skip to content

feat: skip role chaining when awsRoleArn is empty - #318

Merged
markubra merged 1 commit into
mainfrom
feat/optional-role-chaining
Aug 25, 2026
Merged

feat: skip role chaining when awsRoleArn is empty#318
markubra merged 1 commit into
mainfrom
feat/optional-role-chaining

Conversation

@markubra

Copy link
Copy Markdown
Contributor

The assume Deployer role step runs whenever useOIDC: true, so a caller whose OIDC role already carries the permissions has no way to use OIDC - the step fails with an empty role-to-assume. Skipping it when awsRoleArn is empty lets a purpose-scoped OIDC role push directly, without standing up a second role just to satisfy the chain.

  • No change for current callers: all of them pass a non-empty awsRoleArn.
  • An ARN that resolves empty by mistake now silently skips the chain instead of failing at the assume step, so the input description says what empty means.
  • First consumer is apify/apify-integrations-backend#620, where GithubIntegrationsOIDCRole is scoped to ecr:* on the integrations repositories.

@github-actions github-actions Bot added the t-infra Issues with this label are in the ownership of the infrastructure team. label Aug 25, 2026
@markubra
markubra force-pushed the feat/optional-role-chaining branch from 0c1ff61 to 29a33c8 Compare August 25, 2026 11:34
@markubra markubra added the adhoc Ad-hoc unplanned task added during the sprint. label Aug 25, 2026
@markubra
markubra requested a review from seyhello August 25, 2026 11:42
@markubra
markubra merged commit d62affa into main Aug 25, 2026
3 of 4 checks passed
@markubra
markubra deleted the feat/optional-role-chaining branch August 25, 2026 12:04
markubra pushed a commit that referenced this pull request Aug 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.49.0](v0.48.1...v0.49.0)
(2026-08-25)


### Features

* add reusable workflow that keeps AGENTS.md accurate in the PR that
changed it ([#311](#311))
([a333e4d](a333e4d))
* skip role chaining when awsRoleArn is empty
([#318](#318))
([d62affa](d62affa))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-infra Issues with this label are in the ownership of the infrastructure team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants