Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 1.42 KB

fortios_fmg_system_ntp.md

File metadata and controls

92 lines (70 loc) · 1.42 KB

fortios_fmg_system_ntp

back

Index

Terraform

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

top

Example Usage

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

  # server - (required) is a type of string
  server = null
  # status - (optional) is a type of string
  status = null
  # sync_interval - (optional) is a type of number
  sync_interval = null
}

top

Variables

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

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

variable "sync_interval" {
  description = "(optional)"
  type        = number
  default     = null
}

top

Resource

resource "fortios_fmg_system_ntp" "this" {
  # server - (required) is a type of string
  server = var.server
  # status - (optional) is a type of string
  status = var.status
  # sync_interval - (optional) is a type of number
  sync_interval = var.sync_interval
}

top

Outputs

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

output "this" {
  value = fortios_fmg_system_ntp.this
}

top