Skip to content

Latest commit

 

History

History
95 lines (71 loc) · 1.49 KB

fastly_tls_subscription_validation.md

File metadata and controls

95 lines (71 loc) · 1.49 KB

fastly_tls_subscription_validation

back

Index

Terraform

terraform {
  required_providers {
    fastly = ">= 0.28.1"
  }
}

top

Example Usage

module "fastly_tls_subscription_validation" {
  source = "./modules/fastly/r/fastly_tls_subscription_validation"

  # subscription_id - (required) is a type of string
  subscription_id = null

  timeouts = [{
    create = null
  }]
}

top

Variables

variable "subscription_id" {
  description = "(required) - The ID of the TLS Subscription that should be validated."
  type        = string
}

variable "timeouts" {
  description = "nested block: NestingSingle, min items: 0, max items: 0"
  type = set(object(
    {
      create = string
    }
  ))
  default = []
}

top

Resource

resource "fastly_tls_subscription_validation" "this" {
  # subscription_id - (required) is a type of string
  subscription_id = var.subscription_id

  dynamic "timeouts" {
    for_each = var.timeouts
    content {
      # create - (optional) is a type of string
      create = timeouts.value["create"]
    }
  }

}

top

Outputs

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

output "this" {
  value = fastly_tls_subscription_validation.this
}

top