christianlempa-boilerplates/terraform/templates/cloud-deployment-example/cloudflare.tf

10 lines
194 B
Terraform
Raw Normal View History

2021-10-08 15:05:21 +02:00
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
}