Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.19 KB

cloudflare_logpull_retention.md

File metadata and controls

81 lines (60 loc) · 1.19 KB

cloudflare_logpull_retention

back

Index

Terraform

terraform {
  required_providers {
    cloudflare = ">= 2.19.2"
  }
}

top

Example Usage

module "cloudflare_logpull_retention" {
  source = "./modules/cloudflare/r/cloudflare_logpull_retention"

  # enabled - (required) is a type of bool
  enabled = null
  # zone_id - (required) is a type of string
  zone_id = null
}

top

Variables

variable "enabled" {
  description = "(required)"
  type        = bool
}

variable "zone_id" {
  description = "(required)"
  type        = string
}

top

Resource

resource "cloudflare_logpull_retention" "this" {
  # enabled - (required) is a type of bool
  enabled = var.enabled
  # zone_id - (required) is a type of string
  zone_id = var.zone_id
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = cloudflare_logpull_retention.this.id
}

output "this" {
  value = cloudflare_logpull_retention.this
}

top