tfwriter

Terraform HCL code generator.

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

akamai_contract

back

Index

Terraform

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

top

Example Usage

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

  # group - (optional) is a type of string
  group = null
  # group_id - (optional) is a type of string
  group_id = null
  # group_name - (optional) is a type of string
  group_name = null
}

top

Variables

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

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

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

top

Datasource

data "akamai_contract" "this" {
  # group - (optional) is a type of string
  group = var.group
  # group_id - (optional) is a type of string
  group_id = var.group_id
  # group_name - (optional) is a type of string
  group_name = var.group_name
}

top

Outputs

output "group_id" {
  description = "returns a string"
  value       = data.akamai_contract.this.group_id
}

output "group_name" {
  description = "returns a string"
  value       = data.akamai_contract.this.group_name
}

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

output "this" {
  value = akamai_contract.this
}

top