/dns-as-code

This repository contains the code to manage my own DNS records on CloudFlare

Primary LanguageHCL

Terraform Cloudflare DNS Management

This repository contains Terraform configurations for managing DNS records in Cloudflare.

Prerequisites

  • Terraform 0.14.0 or newer
  • Cloudflare account

Usage

  1. Clone the repository
git clone https://github.com/yourusername/dns-as-code.git
cd dns-as-code
  1. Initialize Terraform
terraform init
  1. Plan the changes
terraform plan
  1. Apply the changes
terraform apply