feat(aws): EventBridge Scheduler schedules + groups - #1253
Merged
Conversation
Add the standalone Amazon EventBridge Scheduler control plane (wire service scheduler, restJson1) as a new AWS surface, distinct from the classic eventbridge service and from GCP Cloud Scheduler. Covers CreateSchedule/Get/ Update/Delete/List, CreateScheduleGroup/Get/Delete/List, and Tag/Untag/ ListTagsForResource on schedule groups. Computed fields (schedule arn, group arn, creation/last-modification dates, group ACTIVE state) are minted once at create and stored; target and flexible_time_window round-trip verbatim so an IaC plan stays drift-free.
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
Adds the standalone Amazon EventBridge Scheduler control plane as a new AWS surface (wire service `scheduler`, restJson1 verb+path). This is distinct from the existing `eventbridge` service and from GCP Cloud Scheduler (`services/scheduler`); to avoid the directory collision with the latter, the new service lives under `eventbridgescheduler`.
Control-plane only — schedules are never fired at their targets.
Operations
Drift-free computed fields
Architecture
Follows the restJson1 siblings (mq/grafana/aps): 3-layer split (services/driver, providers/aws, server/aws), COW memstore with deep-clone-on-read, Snapshottable, X-Amzn-Errortype exception tagging. Registered before the S3 catch-all; /schedules and /schedule-groups are unique roots and /tags is scoped by `:scheduler:`, disjoint from sibling tag claimants.
Terraform plan-clean e2e
Against `cloudemu serve` with a real `hashicorp/aws` provider (scheduler endpoint override):
SDK round-trip tests (aws-sdk-go-v2/service/scheduler, test-only) assert byte-stable create→get→update→delete.