tfwriter

Terraform HCL code generator.

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

akamai_dns_record_set

back

Index

Terraform

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

top

Example Usage

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

  # host - (required) is a type of string
  host = null
  # record_type - (required) is a type of string
  record_type = null
  # zone - (required) is a type of string
  zone = null
}

top

Variables

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

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

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

top

Datasource

data "akamai_dns_record_set" "this" {
  # host - (required) is a type of string
  host = var.host
  # record_type - (required) is a type of string
  record_type = var.record_type
  # zone - (required) is a type of string
  zone = var.zone
}

top

Outputs

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

output "rdata" {
  description = "returns a list of string"
  value       = data.akamai_dns_record_set.this.rdata
}

output "this" {
  value = akamai_dns_record_set.this
}

top