From 176f19136c22f9fb32a6dc0aaed813ddad15915b Mon Sep 17 00:00:00 2001 From: cpitchford Date: Tue, 15 May 2018 18:58:16 +0100 Subject: [PATCH] Action is now recorded as event:PutEvents (fully qualified) We no longer need to amend how the Action is reported in the describe_event_bus policy --- moto/events/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/events/models.py b/moto/events/models.py index 03829999..07f19cba 100644 --- a/moto/events/models.py +++ b/moto/events/models.py @@ -235,7 +235,7 @@ class EventsBackend(BaseBackend): 'Sid': statement_id, 'Effect': 'Allow', 'Principal': {'AWS': 'arn:aws:iam::{0}:root'.format(data['principal'])}, - 'Action': 'events:{0}'.format(data['action']), + 'Action': data['action'], 'Resource': arn }) return {