-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(ecr): incorrect format for rule pattern #29243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Hey @msambol, just checking if this PR is ready to go, or the rule pattern is still giving you problems with the trigger on the Lambda. No worries if not, just wanted to check in. |
The trigger isn't being created but I think we should address that in a separate PR. |
Maybe I am missing some context. I see from the issue that the rule never matched. Does that mean the lambda trigger was never created, even before this PR? |
Let me test it out again. When I first worked on this, it didn't. I'll follow up. |
@scanlonp I just redeployed my integration test again. The EventBridge rule gets created, but the trigger on the Lambda does not get created. Once I manually add the trigger, I can get the Lambda to fire. |
@msambol Thank you for your contribution, would like to understand this issue better before reviewing , in the reference docs, resources[] field is not empty always eg. I see it is required for event type |
In those cases, we always have |
Thank you @msambol , would also like to confirm if there are no issues with lambda trigger when we define the rule using eventbridge rule, I would also test at my end to understand the lambda trigger problem to see we are not impacting any existing functionality for the targets with this change. |
hey @msambol ,
|
@shikha372 It was so long ago I'm not sure why I did that 🤦🏼♂️ Fixed per your recommendation—thanks! |
Thanks, to confirm just ran the integration tests on my local and I can see the lambda trigger too with details as a filter |
I see it as well: e457942. Thanks! |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Closes #29225.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license