cloudflare_teams_location (Resource)

Provides a Cloudflare Teams Location resource. Teams Locations are referenced when creating secure web gateway policies.

Example Usage

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"
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for networks

Required:

Read-Only:

Import

Import is supported using the following syntax:

$ terraform import cloudflare_teams_location.example <account_id>/<teams_location_id>