tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

akamai_appsec_match_targets

back

Index

Terraform

terraform {
  required_providers {
    akamai = ">= 1.5.0"
  }
}

top

Example Usage

module "akamai_appsec_match_targets" {
  source = "./modules/akamai/d/akamai_appsec_match_targets"

  # config_id - (required) is a type of number
  config_id = null
  # match_target_id - (optional) is a type of number
  match_target_id = null
  # version - (required) is a type of number
  version = null
}

top

Variables

variable "config_id" {
  description = "(required)"
  type        = number
}

variable "match_target_id" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "version" {
  description = "(required)"
  type        = number
}

top

Datasource

data "akamai_appsec_match_targets" "this" {
  # config_id - (required) is a type of number
  config_id = var.config_id
  # match_target_id - (optional) is a type of number
  match_target_id = var.match_target_id
  # version - (required) is a type of number
  version = var.version
}

top

Outputs

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

output "output_text" {
  description = "returns a string"
  value       = data.akamai_appsec_match_targets.this.output_text
}

output "this" {
  value = akamai_appsec_match_targets.this
}

top