sst / ion

❍ — a new engine for SST

Home Page:https://ion.sst.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudflare account ID is required for Cloudflare DNS setup

alfredsgenkins opened this issue · comments

The following doc: https://ion.sst.dev/docs/custom-domains/ quotes the following requirements for DNS setup:

Set the CLOUDFLARE_API_TOKEN in your environment.

While in reality the following tokens are required:

Set the CLOUDFLARE_API_TOKEN and CLOUDFLARE_DEFAULT_ACCOUNT_ID in your environment.
I believe this is related to: #387

+1 to this, faced the same issue and adding CLOUDFLARE_DEFAULT_ACCOUNT_ID fixed it