Skip to content

feat(schedule): add support for groupName#279

Merged
mnapoli merged 2 commits into
oss-serverless:mainfrom
fbnfgc:feat-scheduler-group-name
May 27, 2026
Merged

feat(schedule): add support for groupName#279
mnapoli merged 2 commits into
oss-serverless:mainfrom
fbnfgc:feat-scheduler-group-name

Conversation

@fbnfgc
Copy link
Copy Markdown
Contributor

@fbnfgc fbnfgc commented May 26, 2026

relates to #143

Summary

Allow schedule.groupName when using method: scheduler.

By default, osls omits GroupName, so EventBridge Scheduler uses the AWS default schedule group. This change only opts in when groupName is explicitly configured.

Why

method: scheduler currently always creates AWS::Scheduler::Schedule resources in the default schedule group. That makes it hard to use IAM conditions or ABAC policies scoped to dedicated scheduler groups, and forces projects to either loosen permissions or avoid method: scheduler.

CloudFormation already supports this through the optional GroupName property on AWS::Scheduler::Schedule, so this exposes that capability in osls.

@fbnfgc fbnfgc marked this pull request as ready for review May 26, 2026 14:45
@mnapoli
Copy link
Copy Markdown
Contributor

mnapoli commented May 27, 2026

Thanks!

@mnapoli mnapoli merged commit c599571 into oss-serverless:main May 27, 2026
4 checks passed
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.

2 participants