Skip to content

Commit

Permalink
fix missing support for eventbridge notifications in AWS::S3::Bucket (l…
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikschubert authored Oct 12, 2023
1 parent 3e6da2a commit b569aa4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions localstack/services/cloudformation/models/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ def s3_bucket_notification_config(
"TopicConfigurations": topic_configs,
},
}
if notif_config.get("EventBridgeConfiguration", {}).get("EventBridgeEnabled"):
result["NotificationConfiguration"]["EventBridgeConfiguration"] = {}

return result

def _handle_result(
Expand Down

0 comments on commit b569aa4

Please sign in to comment.