Skip to content

Latest commit

 

History

History
108 lines (83 loc) · 1.82 KB

fortios_system_setting_dns.md

File metadata and controls

108 lines (83 loc) · 1.82 KB

fortios_system_setting_dns

back

Index

Terraform

terraform {
  required_providers {
    fortios = ">= 1.11.0"
  }
}

top

Example Usage

module "fortios_system_setting_dns" {
  source = "./modules/fortios/r/fortios_system_setting_dns"

  # dns_over_tls - (optional) is a type of string
  dns_over_tls = null
  # primary - (optional) is a type of string
  primary = null
  # secondary - (optional) is a type of string
  secondary = null
}

top

Variables

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

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

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

top

Resource

resource "fortios_system_setting_dns" "this" {
  # dns_over_tls - (optional) is a type of string
  dns_over_tls = var.dns_over_tls
  # primary - (optional) is a type of string
  primary = var.primary
  # secondary - (optional) is a type of string
  secondary = var.secondary
}

top

Outputs

output "dns_over_tls" {
  description = "returns a string"
  value       = fortios_system_setting_dns.this.dns_over_tls
}

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

output "primary" {
  description = "returns a string"
  value       = fortios_system_setting_dns.this.primary
}

output "secondary" {
  description = "returns a string"
  value       = fortios_system_setting_dns.this.secondary
}

output "this" {
  value = fortios_system_setting_dns.this
}

top