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

Putting an event on an nonexistent EventBridge event bus returns a success #9186

Open
1 task
gemyago opened this issue Jan 6, 2025 · 0 comments
Open
1 task
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@gemyago
Copy link

gemyago commented Jan 6, 2025

Describe the bug

Attempting to publish the event to a non existing event bus returns a successful response (e.g FailedEntryCount=0 and no entries with errors)

This is a continuation of the aws/aws-sdk#186.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Attempt to publish the event to non existing event bus must return error response for corresponding entries: FailedEntryCount should correspond to number of failures and Entries should indicate error details.

Current Behavior

No errors in response

Reproduction Steps

Pub message to non existing event bus:

 aws events put-events --entries '[
  {
    "Source": "my-source",
    "DetailType": "message",
    "Detail": "{\"id\": \"123\", \"name\": \"123\"}",
    "EventBusName": "not-existing-event-bus-AS31Q3131BB31134"
  }
]'

The response is:

{
    "FailedEntryCount": 0,
    "Entries": [
        {
            "EventId": "af4e8101-0d66-bba4-4f33-7f0af2c13327"
        }
    ]
}

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/1.36.33 Python/3.13.0 Darwin/24.1.0 botocore/1.35.92

Environment details (OS name and version, etc.)

OSX 15.1.1 (24B91)

@gemyago gemyago added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant