tfwriter

Terraform HCL code generator.

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

akamai_property

back

Index

Terraform

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

top

Example Usage

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

  # name - (required) is a type of string
  name = null
  # version - (optional) is a type of number
  version = null
}

top

Variables

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

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

top

Datasource

data "akamai_property" "this" {
  # name - (required) is a type of string
  name = var.name
  # version - (optional) is a type of number
  version = var.version
}

top

Outputs

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

output "rules" {
  description = "returns a string"
  value       = data.akamai_property.this.rules
}

output "this" {
  value = akamai_property.this
}

top