{"id":20737253,"url":"https://github.com/aspiesoft/terraformcloudflareconfig","last_synced_at":"2026-04-29T13:36:12.087Z","repository":{"id":181342073,"uuid":"663087336","full_name":"AspieSoft/TerraformCloudflareConfig","owner":"AspieSoft","description":"A default config for new cloudflare domains.","archived":false,"fork":false,"pushed_at":"2023-08-30T17:05:07.000Z","size":53761,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T20:25:12.172Z","etag":null,"topics":["cloudflare","config","setup-script"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AspieSoft.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-06T14:21:03.000Z","updated_at":"2023-09-07T01:43:29.000Z","dependencies_parsed_at":"2025-01-18T01:32:57.729Z","dependency_job_id":null,"html_url":"https://github.com/AspieSoft/TerraformCloudflareConfig","commit_stats":null,"previous_names":["aspiesoft/terraformcloudflareconfig"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/AspieSoft/TerraformCloudflareConfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspieSoft%2FTerraformCloudflareConfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspieSoft%2FTerraformCloudflareConfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspieSoft%2FTerraformCloudflareConfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspieSoft%2FTerraformCloudflareConfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AspieSoft","download_url":"https://codeload.github.com/AspieSoft/TerraformCloudflareConfig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AspieSoft%2FTerraformCloudflareConfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32427881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","config","setup-script"],"created_at":"2024-11-17T06:14:01.733Z","updated_at":"2026-04-29T13:36:12.064Z","avatar_url":"https://github.com/AspieSoft.png","language":"Go","funding_links":["https://paypal.me/shaynejrtaylor?country.x=US\u0026locale.x=en_US"],"categories":[],"sub_categories":[],"readme":"# Terraform Cloudflare Config\n\n[![donation link](https://img.shields.io/badge/buy%20me%20a%20coffee-paypal-blue)](https://paypal.me/shaynejrtaylor?country.x=US\u0026locale.x=en_US)\n\nA default config for new cloudflare domains.\n\nI recommend forking this repo and changing the config to your liking.\n\nNote: you will also need to install the [terraform](https://developer.hashicorp.com/terraform/downloads) cli.\nThis does not apply to windows users. The terraform windows exe is included to simplify the install.\n\n## Installation\n\n```shell script\ngit clone https://github.com/AspieSoft/TerraformCloudflareConfig.git\n```\n\n## Setup and Usage\n\n1. Generate a cloudflare api token with access to your cloudflare config. You will need to include the following zone edit permissions:\n   - Config Rules\n   - Cache Rules\n   - Origin Rules\n   - Zone Settings\n   - SSL and Certificates\n2. Set the key to an environment variable with the name `CLOUDFLARE_API_TOKEN` (in linux `echo 'export CLOUDFLARE_API_TOKEN=\"\u003cInsert Cloudflare API Token\u003e\"' \u003e\u003e .zshrc`) or you can add it to a local file next to your cloudflare.tf file named `cloudflare_api_token.key`.\n3. run `TerraformCloudflareConfig/run`, you may be prompted to enter the Zone ID for the cloudflare domain you want to change. *(Note: add the flag `-y` to autoyes confirmation prompts when possible)*\n\n## Optional\n\nAdd a file named `zone.list` and add multiple zone id's *(one per line)* to automatically configure multiple domains with the same settings. *(Note: this will enable the autoyes feature)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspiesoft%2Fterraformcloudflareconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspiesoft%2Fterraformcloudflareconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspiesoft%2Fterraformcloudflareconfig/lists"}