UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

36 lines (30 loc) 647 B
service: hello-world # NOTE: update this with your service name frameworkVersion: '2' provider: name: cloudflare config: accountId: CLOUDFLARE_ACCOUNT_ID zoneId: CLOUDFLARE_ZONE_ID plugins: - serverless-cloudflare-workers functions: hello: name: hello script: helloWorld events: - http: url: example.com/hello/* method: GET headers: foo: bar x-client-data: value foo: name: foo script: bar events: - http: url: example.com/foo/* method: GET headers: foo: bar x-client-data: value