Serverless doesn't recognize eventbridge useCloudFormation in provider settings

Hello,

I try to prepare for the next major release of serverless and want to get rid of the custom resources that get created when using a custom eventbridge in serverless.yml.
For that I’m using the new syntax described under https://www.serverless.com/framework/docs/deprecations/#AWS_EVENT_BRIDGE_CUSTOM_RESOURCE
When running sls package I’m getting the error:
Configuration warning: at ‘provider’: unrecognized property ‘eventbridge’

I’m using serverless version 2.55, according to https://www.serverless.com/framework/docs/providers/aws/events/event-bridge/
this should be possible since version 2.27.0

Thanks,
Harald

Try eventBridge (camelCase)

provider.eventBridge.useCloudFormation: true

1 Like