tfwriter

Terraform HCL code generator.

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

akamai_appsec_configuration_version_clone

back

Index

Terraform

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

top

Example Usage

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

  # config_id - (required) is a type of number
  config_id = null
  # create_from_version - (required) is a type of number
  create_from_version = null
  # rule_update - (optional) is a type of bool
  rule_update = null
}

top

Variables

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

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

variable "rule_update" {
  description = "(optional)"
  type        = bool
  default     = null
}

top

Resource

resource "akamai_appsec_configuration_version_clone" "this" {
  # config_id - (required) is a type of number
  config_id = var.config_id
  # create_from_version - (required) is a type of number
  create_from_version = var.create_from_version
  # rule_update - (optional) is a type of bool
  rule_update = var.rule_update
}

top

Outputs

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

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

output "this" {
  value = akamai_appsec_configuration_version_clone.this
}

top