-2

I get the following error when I try to delete github PR in AWS.

EventBus can't be deleted since it has rules. (Service: AWSEvents; Status Code: 400; Error Code: ValidationException)

I checked the events and I get the same error in almost all events related to pr environments. I also checked the rules and there were no rules related to eventbus. Where can I find this rule and edit?

Thanks.

Onur
  • 414
  • 1
  • 11
  • 31
  • The error is pretty clear, delete its rules first. Not sure what this has to do with github or PRs. – luk2302 Aug 11 '23 at 11:06
  • Yes but I could not see any rule related to it. Where can I check it? – Onur Aug 11 '23 at 11:07
  • Go to `Rules` and select the right event bus. – luk2302 Aug 11 '23 at 11:10
  • Ok that is the case, there are no rules related with event bus. – Onur Aug 11 '23 at 11:23
  • I doubt that, maybe looking in the wrong region, trying to delete the wrong bus, lacking permissions to list the rules, etc. - but if it really is the case contact AWS support. – luk2302 Aug 11 '23 at 11:26
  • I am 100% sure about the region but I might have problem with the permissions because error code is 400. – Onur Aug 11 '23 at 11:30

0 Answers0