serverless-cloudflare-workers icon indicating copy to clipboard operation
serverless-cloudflare-workers copied to clipboard

Documentation config missmatch

Open alexcroox opened this issue 4 years ago • 0 comments

Documentation states:

service:
  name: service-name
  config:
    accountId: ${env:CLOUDFLARE_ACCOUNT_ID}
    zoneId: ${env:CLOUDFLARE_ZONE_ID}

but serverless create --template cloudflare-workers generates:

service: projects

frameworkVersion: '2'

provider:
  name: cloudflare
  config:
    accountId: CLOUDFLARE_ACCOUNT_ID
    zoneId: CLOUDFLARE_ZONE_ID

Where is the config supposed to go?

alexcroox avatar Sep 01 '21 11:09 alexcroox