Skip to content

Conversation

@elliottohara
Copy link
Contributor

@elliottohara elliottohara commented Apr 3, 2023

Event targets need cloudwatch event bus name if they're non default. This PR simply adds it.
Fixes #93

I've tested this locally against a lambda with triggers against a custom bus and it works as expected.

@elliottohara elliottohara changed the title fix: Add event bus name to cloudwatch event targets fix: Add event bus name to cloudwatch event targets. Apr 3, 2023
@elliottohara elliottohara changed the title fix: Add event bus name to cloudwatch event targets. fix: add event bus name to cloudwatch event targets. Apr 3, 2023
@elliottohara
Copy link
Contributor Author

Hello @moritzzimmer ... any way I can get this reviewed. It's pretty minor and our company uses your module a lot (thanks for it btw!)... We actually have a use case that needs to trigger lambdas off rules on the non default bus.

Thanks!

@moritzzimmer moritzzimmer self-assigned this Apr 5, 2023
@moritzzimmer moritzzimmer added the 🐛 bug Something isn't working label Apr 5, 2023
Copy link
Owner

@moritzzimmer moritzzimmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the PR @elliottohara. I have just one minor remark

@moritzzimmer
Copy link
Owner

@elliottohara could you please fmt your changes/run pre-commit

@elliottohara
Copy link
Contributor Author

@elliottohara could you please fmt your changes/run pre-commit

Done.

@elliottohara
Copy link
Contributor Author

Hi @moritzzimmer ... Any way we can get this merged and released? I'd love to bump our companies modules up to this.

Thanks!

@moritzzimmer moritzzimmer merged commit 1a87902 into moritzzimmer:main Apr 11, 2023
@moritzzimmer
Copy link
Owner

@elliottohara this has been released with v6.12.0 - thx for your contribution

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

Labels

🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot create cloudwatch rule against non default event bus

4 participants