Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Service]: EventBridge Scheduler #27760

Closed
roberth-k opened this issue Nov 11, 2022 · 9 comments · Fixed by #27975
Closed

[New Service]: EventBridge Scheduler #27760

roberth-k opened this issue Nov 11, 2022 · 9 comments · Fixed by #27975
Labels
new-service Introduces a new service. service/scheduler Issues and PRs that pertain to the scheduler service.

Comments

@roberth-k
Copy link
Contributor

roberth-k commented Nov 11, 2022

Description

EventBridge Scheduler [1] is a new capability from Amazon EventBridge that allows you to create, run, and manage scheduled tasks at scale.

As of 11 Nov 2022, it doesn't look like this has landed yet in any of the SDK-s or CLI-s. Based on how they've structured documentation and some of the links, my guess is this is considered to be a new service (short name scheduler) rather than part of EventBridge or CloudWatch Events.

Requested Resource(s) and/or Data Source(s)

  • aws_scheduler_schedule or aws_cloudwatch_event_schedule
  • aws_scheduler_schedule_group or aws_cloudwatch_event_schedule_group

Potential Terraform Configuration

// https://docs.aws.amazon.com/scheduler/latest/APIReference/API_CreateScheduleGroup.html
resource "aws_scheduler_schedule_group" "example" {
  name = "example-schedule-group"
}

// https://docs.aws.amazon.com/scheduler/latest/APIReference/API_CreateSchedule.html
resource "aws_scheduler_schedule" "example" {
  group_name          = aws_scheduler_schedule_group.example.name 
  description         = "This is an example."
  schedule_expression = "rate(1 day)"
  state               = "ENABLED"

  target {
    arn = aws_sqs_queue.example.arn

    sqs_parameters {
      message_group_id = "example-message-group"
    }
  }
}

References

Would you like to implement a fix?

Yes

@roberth-k roberth-k added the needs-triage Waiting for first response or review from a maintainer. label Nov 11, 2022
@roberth-k
Copy link
Contributor Author

I'll pick this up as soon as it lands in the SDK-s.

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@roberth-k roberth-k changed the title [New]: Service EventBridge Scheduler [New Service]: EventBridge Scheduler Nov 11, 2022
@ewbankkit
Copy link
Contributor

Requires AWS SDK for Go v1.44.135: #27755.

Let's go with aws_scheduler_... to match the API package name.

@ewbankkit ewbankkit added new-service Introduces a new service. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 11, 2022
@atsushi-ishibashi
Copy link
Contributor

atsushi-ishibashi commented Nov 18, 2022

@roberth-k
How about aws_scheduler_schedule? If you have enough time, can I develop?

@atsushi-ishibashi
Copy link
Contributor

If you have anything under development about to completion, please let me know. I'll close PR🙋

@roberth-k
Copy link
Contributor Author

If you have anything under development about to completion, please let me know. I'll close PR🙋

Hi @atsushi-ishibashi. Indeed, I’m working on the aws_scheduler_schedule resource. With any luck it should be ready by the next release.

@atsushi-ishibashi
Copy link
Contributor

Oh, I see.

With any luck it should be ready by the next release.

I'd like to use scheduler on my work at the next release so could I take on this implementation?
I finished main logic🙋‍♂️ Sorry for bother

@ewbankkit ewbankkit added the service/scheduler Issues and PRs that pertain to the scheduler service. label Nov 18, 2022
@roberth-k
Copy link
Contributor Author

Oh, I see.

With any luck it should be ready by the next release.

I'd like to use scheduler on my work at the next release so could I take on this implementation? I finished main logic🙋‍♂️ Sorry for bother

Hi,

Factoring in acceptance tests and documentation, I'm probably a bit closer to wrapping this up -- only a few of the templated targets remain. I'll publish the PR as soon as possible.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-service Introduces a new service. service/scheduler Issues and PRs that pertain to the scheduler service.
Projects
None yet
3 participants