An open API service indexing awesome lists of open source software.

https://github.com/iamask/cloudflare-zone-template

This will setup basic configurations like managed waf rules, custom rules, performance settings etc
https://github.com/iamask/cloudflare-zone-template

cloudflare cloudflare-dns managed-rules terraform

Last synced: about 1 month ago
JSON representation

This will setup basic configurations like managed waf rules, custom rules, performance settings etc

Awesome Lists containing this project

README

          

This is a basic template to get started with Cloudflare after onboarding an Enterprise zone. State file is stored in terraform Cloud and integrated with Github actions.

**Template will update** :

- Zone level setting
- DNS
- WAF Managed rules
- Custom rules
- Rate limiting
- Transform rules
- Redirect rules
- Cache rules

- Zero Trust
- Cloudflare Access

**Reference** :
- https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs
- https://developers.cloudflare.com/terraform/

**Steps**:

- clone the repo
- run > "Terraform init"
- run > "Terraform plan"
- run > "Terraform apply"

- **Note**: Terraform plan and apply command will prompt for API token and zone ID

**Reference**
- https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
- https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/