Skip to content

Latest commit

 

History

History
96 lines (73 loc) · 1.44 KB

dme_secondary_dns.md

File metadata and controls

96 lines (73 loc) · 1.44 KB

dme_secondary_dns

back

Index

Terraform

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

top

Example Usage

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

  # folder_id - (optional) is a type of string
  folder_id = null
  # ipset_id - (required) 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 = "(required)"
  type        = string
}

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

top

Resource

resource "dme_secondary_dns" "this" {
  # folder_id - (optional) is a type of string
  folder_id = var.folder_id
  # ipset_id - (required) 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       = dme_secondary_dns.this.folder_id
}

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

output "this" {
  value = dme_secondary_dns.this
}

top