cloudflare_address_map (Resource)

Provides the ability to manage IP addresses that can be used by DNS records when they are proxied through Cloudflare.

Example Usage

resource "cloudflare_address_map" "example" {
  account_id  = "f037e56e89293a057740de681ac9abbe"
  description = "My address map"
  default_sni = "*.example.com"
  enabled     = true

  ips { ip = "192.0.2.1" }
  ips { ip = "203.0.113.1" }

  memberships {
    identifier = "92f17202ed8bd63d69a66b86a49a8f6b"
    kind       = "account"
  }
  memberships {
    identifier = "023e105f4ecef8ad9ca31a8372d0c353"
    kind       = "zone"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for ips

Required:

Nested Schema for memberships

Required:

Read-Only:

Import

Import is supported using the following syntax:

$ terraform import cloudflare_address_map.example <account_id>/<address_map_id>