diff --git a/localstack/services/cloudformation/models/s3.py b/localstack/services/cloudformation/models/s3.py index 4763ae6d3134d..eaa3a4740731d 100644 --- a/localstack/services/cloudformation/models/s3.py +++ b/localstack/services/cloudformation/models/s3.py @@ -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(