back
terraform {
required_providers {
bigip = ">= 1.8.0"
}
}
top
module "bigip_sys_ntp" {
source = "./modules/bigip/r/bigip_sys_ntp"
# description - (required) is a type of string
description = null
# servers - (optional) is a type of set of string
servers = []
# timezone - (optional) is a type of string
timezone = null
}
top
variable "description" {
description = "(required) - Name of the ntp Servers"
type = string
}
variable "servers" {
description = "(optional) - Servers Address"
type = set(string)
default = null
}
variable "timezone" {
description = "(optional) - Servers timezone"
type = string
default = null
}
top
resource "bigip_sys_ntp" "this" {
# description - (required) is a type of string
description = var.description
# servers - (optional) is a type of set of string
servers = var.servers
# timezone - (optional) is a type of string
timezone = var.timezone
}
top
output "id" {
description = "returns a string"
value = bigip_sys_ntp.this.id
}
output "this" {
value = bigip_sys_ntp.this
}
top