Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 1.44 KB

bigip_sys_ntp.md

File metadata and controls

92 lines (70 loc) · 1.44 KB

bigip_sys_ntp

back

Index

Terraform

terraform {
  required_providers {
    bigip = ">= 1.8.0"
  }
}

top

Example Usage

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

Variables

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

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

Outputs

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

output "this" {
  value = bigip_sys_ntp.this
}

top