Address Maps
resource cloudflare_address_map
optional
If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
cloudflare_address_map
resource "cloudflare_address_map" "example_address_map" {
account_id = "258def64c72dae45f3e4c8516e2111f2"
description = "My Ecommerce zones"
enabled = true
ips = ["192.0.2.1"]
memberships = [{
identifier = "023e105f4ecef8ad9ca31a8372d0c353"
kind = "zone"
}]
}
data cloudflare_address_map
required
computed
If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
An optional description field which may be used to describe the types of IPs or zones on the map.
cloudflare_address_map
data "cloudflare_address_map" "example_address_map" {
account_id = "258def64c72dae45f3e4c8516e2111f2"
address_map_id = "055817b111884e0227e1be16a0be6ee0"
}