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

Notify of AMI builds with Event Bridge #82

Open
pb8o opened this issue Nov 4, 2022 · 1 comment
Open

Notify of AMI builds with Event Bridge #82

pb8o opened this issue Nov 4, 2022 · 1 comment

Comments

@pb8o
Copy link

pb8o commented Nov 4, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
What do you want us to build?

EventBridge integration so after an AMI is built, it sends a notification to EventBridge.

This would allow one to write something like this in CDK

const onBuildRule = ibInfra.onBuild('OnBuild', {
  target: new targets.SfnStateMachine(),
  ...
});

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

After an AMI is built we would like to run it through a qualification workflow before putting it in production. This doesn't quite fit the build-time validation, so we would like to do it after the AMI is built.

Are you currently working around this issue?
How are you currently solving this problem?

I am using an SNS topic for notifications, with a Sfn subscribed to the topic. It works, but it would be more direct to have EventBridge.

Additional context
Anything else we should know?

Attachments
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

@wieshka
Copy link

wieshka commented Jul 25, 2023

This is easy to achieve with EC2 AMI notifications emitting AMI ready events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants