anantab / serverless-plugin-ifelse

A Serverless Plugin to write If Else conditions in serverless YAML file
69 stars 19 forks source link

Incorrect function http event property exclusion in example #16

Closed mathan94 closed 4 years ago

mathan94 commented 4 years ago

functions.func1.events.http.0.authorizer

won't work, it should be:

functions.func1.events.0.http.authorizer

karopolopoulos commented 4 years ago

I can second this. The events key is the array where as http is an object