Skip to content
Start here

ACM

ACMTotal TLS

resource cloudflare_total_tls

required Expand Collapse
zone_id: String

Identifier.

enabled: Bool

If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.

optional Expand Collapse
certificate_authority?: String

The Certificate Authority that Total TLS certificates will be issued through.

computed Expand Collapse
id: String

Identifier.

validity_period: Int64

The validity period in days for the certificates ordered via Total TLS.

cloudflare_total_tls

resource "cloudflare_total_tls" "example_total_tls" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  enabled = true
  certificate_authority = "google"
}

data cloudflare_total_tls

required Expand Collapse
zone_id: String

Identifier.

computed Expand Collapse
id: String

Identifier.

certificate_authority: String

The Certificate Authority that Total TLS certificates will be issued through.

enabled: Bool

If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.

validity_period: Int64

The validity period in days for the certificates ordered via Total TLS.

cloudflare_total_tls

data "cloudflare_total_tls" "example_total_tls" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

ACMCustom Trust Store

resource cloudflare_custom_origin_trust_store

required Expand Collapse
zone_id: String

Identifier.

certificate: String

The zone's SSL certificate or certificate and the intermediate(s).

computed Expand Collapse
id: String

Identifier.

expires_on: Time

When the certificate expires.

issuer: String

The certificate authority that issued the certificate.

signature: String

The type of hash used for the certificate.

status: String

Status of the zone's custom SSL.

updated_at: Time

When the certificate was last modified.

uploaded_on: Time

When the certificate was uploaded to Cloudflare.

cloudflare_custom_origin_trust_store

resource "cloudflare_custom_origin_trust_store" "example_custom_origin_trust_store" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  certificate = <<EOT
  -----BEGIN CERTIFICATE-----
  MIIDdjCCAl6gAwIBAgIJAPnMg0Fs+/B0MA0GCSqGSIb3DQEBCwUAMFsx...
  -----END CERTIFICATE-----

  EOT
}

data cloudflare_custom_origin_trust_store

required Expand Collapse
zone_id: String

Identifier.

optional Expand Collapse
custom_origin_trust_store_id?: String

Identifier.

filter?: Attributes
limit?: Int64

Limit to the number of records returned.

offset?: Int64

Offset the results

computed Expand Collapse
id: String

Identifier.

certificate: String

The zone's SSL certificate or certificate and the intermediate(s).

expires_on: Time

When the certificate expires.

issuer: String

The certificate authority that issued the certificate.

signature: String

The type of hash used for the certificate.

status: String

Status of the zone's custom SSL.

updated_at: Time

When the certificate was last modified.

uploaded_on: Time

When the certificate was uploaded to Cloudflare.

cloudflare_custom_origin_trust_store

data "cloudflare_custom_origin_trust_store" "example_custom_origin_trust_store" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  custom_origin_trust_store_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_custom_origin_trust_stores

required Expand Collapse
zone_id: String

Identifier.

optional Expand Collapse
limit?: Int64

Limit to the number of records returned.

offset?: Int64

Offset the results

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Identifier.

certificate: String

The zone's SSL certificate or certificate and the intermediate(s).

expires_on: Time

When the certificate expires.

issuer: String

The certificate authority that issued the certificate.

signature: String

The type of hash used for the certificate.

status: String

Status of the zone's custom SSL.

updated_at: Time

When the certificate was last modified.

uploaded_on: Time

When the certificate was uploaded to Cloudflare.

cloudflare_custom_origin_trust_stores

data "cloudflare_custom_origin_trust_stores" "example_custom_origin_trust_stores" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  limit = 10
  offset = 10
}