back
terraform {
required_providers {
dme = ">= 0.1.3"
}
}
top
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
variable "folder_id" {
description = "(optional)"
type = string
default = null
}
variable "ipset_id" {
description = "(required)"
type = string
}
variable "name" {
description = "(required)"
type = string
}
top
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
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