Difference between revisions of "Terraform resource: cloudflare record"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/record
 
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/record
  
= Official example ==
+
== Official example ==
 
  resource "cloudflare_record" "example" {
 
  resource "cloudflare_record" "example" {
 
   zone_id = var.cloudflare_zone_id
 
   zone_id = var.cloudflare_zone_id

Revision as of 09:10, 20 February 2024

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

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: