cloudflare-route53
jacobbednarz/cloudflare-route53/module
A Terraform module managing DNS record types between Cloudflare and Route53 without DNS replication.
terraform-module-cloudflare-route53 This Terraform module works by unifying the interface to create and manage DNS records. It helps increase DNS redundancy by keeping records across two providers without any need for replication. Example usage Below we create two records that will be created and managed in both providers. ``hcl variable "cloudflare_api_token" {} variable "cloudflare_zone_id" {} variable "zone_map" {} provider "cloudflare" { api_token = var.cloudflare_api_token } provider "aws" { region = "us-east-1" } module "example_cname" { source = "path/to/this/module" zone_map = var.zone_map zone_id = var.cloudflare_zone_id name = "notreal" value = "example.com" type = "CNAME" ttl = 300 proxied = false } module "example_txt" { source = "path/to/this/module" zone_map = var.zone_map zo
| Name | Type | Description | Default |
|---|---|---|---|
| ttl | string | DNS record TTL | required |
| zone_map | map(string) | Map of string values of Cloudflare zone ID to Route53 zone ID | required |
| zone_id | string | Cloudflare zone ID to use for resources and lookups | required |
| name | string | DNS record name | required |
| type | string | DNS record type | required |
| value | string | DNS record value | required |
| proxied | bool | Whether the record should be proxied in Cloudflare | false |