Difference between revisions of "Terraform resource: cloudflare record"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
== Official example ==
 
== Official example ==
 
  resource "cloudflare_record" "example" {
 
  resource "cloudflare_record" "example" {
   zone_id = var.cloudflare_zone_id
+
   zone_id = var.[[cloudflare_zone_id]]
 
   name    = "terraform"
 
   name    = "terraform"
 
   value  = "192.0.2.1"
 
   value  = "192.0.2.1"

Revision as of 09:29, 20 February 2024

https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/record

proxied

Official example

resource "cloudflare_record" "example" {
 zone_id = var.cloudflare_zone_id
 name    = "terraform"
 value   = "192.0.2.1"
 type    = "A"
 ttl     = 3600
}

See also

Advertising: