back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
module "fortios_fmg_system_dns" {
source = "./modules/fortios/r/fortios_fmg_system_dns"
# primary - (optional) is a type of string
primary = null
# secondary - (optional) is a type of string
secondary = null
}
top
variable "primary" {
description = "(optional)"
type = string
default = null
}
variable "secondary" {
description = "(optional)"
type = string
default = null
}
top
resource "fortios_fmg_system_dns" "this" {
# primary - (optional) is a type of string
primary = var.primary
# secondary - (optional) is a type of string
secondary = var.secondary
}
top
output "id" {
description = "returns a string"
value = fortios_fmg_system_dns.this.id
}
output "this" {
value = fortios_fmg_system_dns.this
}
top