Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 1.58 KB

dme_secondary_dns.md

File metadata and controls

102 lines (78 loc) · 1.58 KB

dme_secondary_dns

back

Index

Terraform

terraform {
  required_providers {
    dme = ">= 0.1.3"
  }
}

top

Example Usage

module "dme_secondary_dns" {
  source = "./modules/dme/d/dme_secondary_dns"

  # folder_id - (optional) is a type of string
  folder_id = null
  # ipset_id - (optional) is a type of string
  ipset_id = null
  # name - (required) is a type of string
  name = null
}

top

Variables

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

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

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

top

Datasource

data "dme_secondary_dns" "this" {
  # folder_id - (optional) is a type of string
  folder_id = var.folder_id
  # ipset_id - (optional) is a type of string
  ipset_id = var.ipset_id
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

output "folder_id" {
  description = "returns a string"
  value       = data.dme_secondary_dns.this.folder_id
}

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

output "ipset_id" {
  description = "returns a string"
  value       = data.dme_secondary_dns.this.ipset_id
}

output "this" {
  value = dme_secondary_dns.this
}

top