Files
vercel/errors/deploy-invalid-dc.md
Steven 6b52cfdbc7 [now-cli][now-client] Add support for vercel config files (#4234)
This PR renames the CLI and config files to `vercel`.

https://vercel.com/blog/zeit-is-now-vercel

### Complete
- [x] Help menus and error messages should print cli name from `package.json`
- [x] `now.json` => `vercel.json`
- [x] `.nowignore` => `.vercelignore`
- [x] `~/.now` => `~/.vercel`
- [x] `<project>/.now/project.json` => `<project>/.vercel/project.json`

### TODO
I'm going to do the remaining work in a follow-up PR:
- [ ] `<project>/.now/cache` => `<project>/.vercel/cache` (Runtimes sometimes use this)
- [ ] `NOW_*` special cased environment variables
- [ ] `*.now.sh` special cased url suffix
2020-05-05 14:58:05 -04:00

765 B

Invalid Region or DC Identifier

Why This Error Occurred

When supplying regions or scale settings, you used an unknown or invalid dc identifier.

Possible Ways to Fix It

Check your vercel.json or --regions flag and make sure you are using a valid string. Regions and DCs have to be in lowercase.

Valid region identifiers:

  • all (special, used to scale to all DCs, can only appear once)
  • sfo
  • bru
  • gru
  • iad

In now-cli, they currently are transformed to DC identifiers before being sent to our APIs.

Valid DC identifiers:

  • sfo1
  • bru1
  • gru1
  • iad1

When passing multiple --regions as a CLI parameter, make sure they're separated by a comma (,). For example:

now --regions sfo,bru,gru