Provides a Cloudflare Teams Location resource. Teams Locations are referenced when creating secure web gateway policies.
resource "cloudflare_teams_location" "example" {
account_id = "f037e56e89293a057740de681ac9abbe"
name = "office"
client_default = true
ecs_support = false
networks {
network = "203.0.113.1/32"
}
networks {
network = "203.0.113.2/32"
}
}
account_id
(String) The account identifier to target for the resource.name
(String) Name of the teams location.client_default
(Boolean) Indicator that this is the default location.ecs_support
(Boolean) Indicator that this location needs to resolve EDNS queries.networks
(Block Set) The networks CIDRs that comprise the location. (see below for nested schema)anonymized_logs_enabled
(Boolean) Indicator that anonymized logs are enabled.doh_subdomain
(String) The FQDN that DoH clients should be pointed at.id
(String) The ID of this resource.ip
(String) Client IP address.ipv4_destination
(String) IP to direct all IPv4 DNS queries to.policy_ids
(List of String)networks
Required:
network
(String) CIDR notation representation of the network IP.Read-Only:
id
(String) The ID of this resource.Import is supported using the following syntax:
$ terraform import cloudflare_teams_location.example <account_id>/<teams_location_id>