Skip to content
Start here

Cf1 Sites

resource cloudflare_magic_transit_cf1_site

required Expand Collapse
account_id: String

Identifier

body: List[Attributes]
name: String

A human-provided name describing the CF1 Site that should be unique within the account.

id: String

Identifier

created_on: Time
description?: String

A human-provided description of the CF1 Site.

location?: Attributes
lat?: Float64

Latitude of the CF1 Site.

long?: Float64

Longitude of the CF1 Site.

name?: String

Name of nearest town, city, or village.

modified_on: Time
optional Expand Collapse
description?: String

A human-provided description of the CF1 Site.

name?: String

A human-provided name describing the CF1 Site that should be unique within the account.

location?: Attributes
lat?: Float64

Latitude of the CF1 Site.

long?: Float64

Longitude of the CF1 Site.

name?: String

Name of nearest town, city, or village.

computed Expand Collapse
id: String

Identifier

created_on: Time
modified_on: Time

cloudflare_magic_transit_cf1_site

resource "cloudflare_magic_transit_cf1_site" "example_magic_transit_cf1_site" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  body = [{
    name = "Pad 34"
    description = "Launch Pad 34"
    location = {
      lat = 28.521339842093845
      long = -80.56092644815843
      name = "Cape Canaveral"
    }
  }]
}

data cloudflare_magic_transit_cf1_site

required Expand Collapse
cf1_site_id: String

Identifier

account_id: String

Identifier

computed Expand Collapse
id: String

Identifier

created_on: Time
description: String

A human-provided description of the CF1 Site.

modified_on: Time
name: String

A human-provided name describing the CF1 Site that should be unique within the account.

location: Attributes
lat: Float64

Latitude of the CF1 Site.

long: Float64

Longitude of the CF1 Site.

name: String

Name of nearest town, city, or village.

cloudflare_magic_transit_cf1_site

data "cloudflare_magic_transit_cf1_site" "example_magic_transit_cf1_site" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  cf1_site_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_magic_transit_cf1_sites

required Expand Collapse
account_id: String

Identifier

optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

name: String

A human-provided name describing the CF1 Site that should be unique within the account.

id: String

Identifier

created_on: Time
description: String

A human-provided description of the CF1 Site.

location: Attributes
lat: Float64

Latitude of the CF1 Site.

long: Float64

Longitude of the CF1 Site.

name: String

Name of nearest town, city, or village.

modified_on: Time

cloudflare_magic_transit_cf1_sites

data "cloudflare_magic_transit_cf1_sites" "example_magic_transit_cf1_sites" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}