Skip to content

fix(iam): apply provider.rolePermissionsBoundary to ApigatewayToStepFunctionsRole#721

Open
VirtueMe wants to merge 1 commit intomasterfrom
fix-395-permissions-boundary
Open

fix(iam): apply provider.rolePermissionsBoundary to ApigatewayToStepFunctionsRole#721
VirtueMe wants to merge 1 commit intomasterfrom
fix-395-permissions-boundary

Conversation

@VirtueMe
Copy link
Copy Markdown
Collaborator

Summary

  • The auto-generated ApigatewayToStepFunctionsRole did not inherit provider.rolePermissionsBoundary, causing iam:CreateRole to fail in environments that enforce a permissions boundary policy
  • The state machine execution role (compileIamRole.js) already handled this correctly; this brings apiGateway/iamRole.js in line with the same behaviour
  • Mirrors the existing provider.iam.role.path pattern already present in the same file

Test plan

  • New test: should apply provider.rolePermissionsBoundary to API Gateway IAM role — confirms PermissionsBoundary is set on the generated role
  • Full test suite: npm test — 498 passing

Closes #395

🤖 Generated with Claude Code

…unctionsRole

The auto-generated ApigatewayToStepFunctionsRole did not inherit
provider.rolePermissionsBoundary, causing role creation to fail in
environments that enforce a permissions boundary policy. Apply it
alongside the existing provider.iam.role.path handling.

Fixes #395

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 27, 2026

Open in StackBlitz

npm i https://pkg.pr.new/serverless-operations/serverless-step-functions@721

commit: 72594f7

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.

serverless-step-functions plugin is not using provider permissions Boundary when creating iam role

1 participant