mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Add accountId and zoneId instructions to deploying guide
This commit is contained in:
parent
c33d42d951
commit
61797bf382
@ -15,7 +15,7 @@ The Serverless Framework was designed to provision your Cloudflare Workers Funct
|
||||
|
||||
## prerequisites
|
||||
|
||||
In order to deploy your Cloudflare Worker, you need to set your Cloudflare email as an environmental variable called `CLOUDFLARE_AUTH_EMAIL`, and your Cloudflare Global API Key as an environmental variable called `CLOUDFLARE_AUTH_KEY`.
|
||||
In order to deploy your Cloudflare Worker, you need to set your Cloudflare email as an environmental variable called `CLOUDFLARE_AUTH_EMAIL`, and your Cloudflare Global API Key as an environmental variable called `CLOUDFLARE_AUTH_KEY`. You will also need to set `accountId` and `zoneId` in `serverless.yml` under `service.config`, the first part of the path when you open [Cloudflare dashboard] as a logged in user is your `accountId`, e.g. `dash.cloudflare.com/{accountId}`. And the `zoneId` can be found from the overview tab after selecting the desired zone from the [Cloudflare dashboard](https://dash.cloudflare.com/).
|
||||
|
||||
Environmental variables are variables that live inside your terminal.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user