back
terraform {
required_providers {
fortios = ">= 1.11.0"
}
}
top
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
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 "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
output "id" {
description = "returns a string"
value = fortios_fmg_system_ntp.this.id
}
output "this" {
value = fortios_fmg_system_ntp.this
}
top