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
andCLOUDFLARE_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