What is my zone ID?

Trying to import all settings into terraform via cf-terraforming. Getting error below and suspect it’s due to incorrect zone id. Where is this super secret id?? And why is it so difficult to find it??

 cf-terraforming generate --resource-type cloudflare_record -v -c .cf-terraforming.yaml -z XXXXX
time="2022-02-02T08:42:40-05:00" level=debug msg="initializing cloudflare-go" account_id= [email protected] zone_id=XXXXXXXX
time="2022-02-02T08:42:43-05:00" level=debug msg="initialising Terraform in ."
time="2022-02-02T08:42:44-05:00" level=debug msg="reading Terraform schema for Cloudflare provider"
time="2022-02-02T08:42:45-05:00" level=debug msg="beginning to read and build cloudflare_record resources"
time="2022-02-02T08:42:46-05:00" level=fatal msg="HTTP status 403: Authentication error (10000)"

It’s in the right column of the Overview page for your domain.


Go to dash.cloudflare.com , sign in, click on the website you want.

The Home page should show the Zone ID under API at

the bottom right part of the page .

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.