Skip to content

Instantly share code, notes, and snippets.

@eyeezzi
Last active April 14, 2020 01:14
Show Gist options
  • Save eyeezzi/438a2fcfec4ef373c571017176a7c92d to your computer and use it in GitHub Desktop.
Save eyeezzi/438a2fcfec4ef373c571017176a7c92d to your computer and use it in GitHub Desktop.
Debug output when trying to create a Cloudflare site based on a subdomain
cloudflare_zone.api-samplesite-com: Creating...
Error: Error creating zone "api.samplesite.com": error from makeRequest: HTTP status 400: content "{\"success\":false,\"errors\":[{\"code\":1116,\"message\":\"Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com)\"}],\"messages\":[],\"result\":null}"
on DNS-CF-api-samplesite-com.tf line 6, in resource "cloudflare_zone" "api-samplesite-com":
6: resource "cloudflare_zone" "api-samplesite-com" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment