tfwriter

Terraform HCL code generator.

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

akamai_networklist_network_list

back

Index

Terraform

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

top

Example Usage

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

  # description - (required) is a type of string
  description = null
  # list - (optional) is a type of list of string
  list = []
  # mode - (required) is a type of string
  mode = null
  # name - (required) is a type of string
  name = null
  # type - (required) is a type of string
  type = null
}

top

Variables

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

variable "list" {
  description = "(optional)"
  type        = list(string)
  default     = null
}

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

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

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

top

Resource

resource "akamai_networklist_network_list" "this" {
  # description - (required) is a type of string
  description = var.description
  # list - (optional) is a type of list of string
  list = var.list
  # mode - (required) is a type of string
  mode = var.mode
  # name - (required) is a type of string
  name = var.name
  # type - (required) is a type of string
  type = var.type
}

top

Outputs

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

output "sync_point" {
  description = "returns a number"
  value       = akamai_networklist_network_list.this.sync_point
}

output "uniqueid" {
  description = "returns a string"
  value       = akamai_networklist_network_list.this.uniqueid
}

output "this" {
  value = akamai_networklist_network_list.this
}

top