Skip to content

qumulo_time_configuration (Resource)

Manages time configuration on a Qumulo cluster.

This is a singleton resource (one per cluster). It configures the NTP servers and Active Directory time synchronization settings for the cluster.

Example Usage

Basic NTP Configuration

resource "qumulo_time_configuration" "main" {
  connection_profile = "prod"

  ntp_servers = ["0.pool.ntp.org", "1.pool.ntp.org"]
}

AD Time Synchronization

resource "qumulo_time_configuration" "main" {
  connection_profile = "prod"

  use_ad_for_primary = true
  ntp_servers        = ["time.windows.com"]
}

Multi-Cluster with for_each

variable "clusters" {
  type = set(string)
  default = ["prod", "dr"]
}

resource "qumulo_time_configuration" "main" {
  for_each = var.clusters

  connection_profile = each.value

  ntp_servers = ["0.pool.ntp.org", "1.pool.ntp.org"]
}

Schema

Required

  • connection_profile (String) Name of a connection profile from the provider block. See the provider reference for how to define profiles.

Optional

  • ntp_servers (List of String) List of NTP server addresses for time synchronization.
  • use_ad_for_primary (Boolean) Use Active Directory domain controller as the primary time source. Defaults to false.

Read-Only

  • sync_status (String) Current time synchronization status (TIME_SYNCHRONIZING or TIME_NOT_SYNCHRONIZING).