tfwriter

Terraform HCL code generator.

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

akamai_appsec_configuration_clone

back

Index

Terraform

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

top

Example Usage

module "akamai_appsec_configuration_clone" {
  source = "./modules/akamai/r/akamai_appsec_configuration_clone"

  # contract_id - (required) is a type of string
  contract_id = null
  # create_from_config_id - (required) is a type of number
  create_from_config_id = null
  # create_from_version - (required) is a type of number
  create_from_version = null
  # description - (required) is a type of string
  description = null
  # group_id - (required) is a type of number
  group_id = null
  # host_names - (required) is a type of list of string
  host_names = []
  # name - (required) is a type of string
  name = null
}

top

Variables

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

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

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

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

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

variable "host_names" {
  description = "(required)"
  type        = list(string)
}

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

top

Resource

resource "akamai_appsec_configuration_clone" "this" {
  # contract_id - (required) is a type of string
  contract_id = var.contract_id
  # create_from_config_id - (required) is a type of number
  create_from_config_id = var.create_from_config_id
  # create_from_version - (required) is a type of number
  create_from_version = var.create_from_version
  # description - (required) is a type of string
  description = var.description
  # group_id - (required) is a type of number
  group_id = var.group_id
  # host_names - (required) is a type of list of string
  host_names = var.host_names
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

output "config_id" {
  description = "returns a number"
  value       = akamai_appsec_configuration_clone.this.config_id
}

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

output "version" {
  description = "returns a number"
  value       = akamai_appsec_configuration_clone.this.version
}

output "this" {
  value = akamai_appsec_configuration_clone.this
}

top