Difference between revisions of "Cloudflare zone"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/data-sources/zone
  
 
  data "cloudflare_zone" "example" {
 
  data "cloudflare_zone" "example" {

Revision as of 19:40, 16 July 2024

https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/data-sources/zone

data "cloudflare_zone" "example" {
  name = "example.com"
}

resource "cloudflare_record" "example" {
  zone_id = data.cloudflare_zone.example.id
  name    = "www"
  value   = "203.0.113.1"
  type    = "A"
  proxied = true
}


cloudflare_record, cloudflare_zone

Advertising: