christianlempa-boilerplates/terraform/templates/cloud-deployment-example/cloudflare.tf
2022-03-04 17:45:04 +01:00

10 lines
194 B
HCL

variable "zone_id" {}
resource "cloudflare_record" "server" {
zone_id = var.zone_id
name = "your-dns-name"
value = civo_instance.server.public_ip
type = "A"
proxied = false
}