Files
floci/src/main/java/io
Hector Ventura 5d3f6e9c8c fix(eventbridge): tag rules on custom buses whose name contains "event-bus" (#1102)
tagResource, untagResource, and listTagsForResource detected the resource
type with resourceArn.contains("event-bus/"). A rule ARN on a custom bus —
rule/my-event-bus/test-rule — also contains "event-bus/", so it matched the
bus branch instead of the rule branch and failed with ResourceNotFoundException.

Parse the ARN with AwsArnUtils.parse(arn).resource() and dispatch on
resource.startsWith(...) against the resource segment only, so a bus name
substring can no longer trigger a false branch match. The duplicated
rule-name/bus-name split logic is extracted into a parseRuleResource helper
returning a RuleRef record.

Closes #963
2026-05-30 17:48:09 -05:00
..