Skip to content

qumulo_nfs_settings (Resource)

Manages NFS server settings on a Qumulo cluster.

This is a singleton resource (one per cluster). It configures the global NFS server settings including NFSv4 support and Kerberos authentication options.

Example Usage

Installation

terraform {
  required_providers {
    qumulo = {
      source  = "qumulo-terraform-registry.s3.us-east-1.amazonaws.com/qumulo/qumulo"
      version = "~> 1.0"
    }
  }
}

Basic Settings

resource "qumulo_nfs_settings" "main" {
  connection_profile = "prod"

  v4_enabled       = true
  auth_sys_enabled = true
}

Settings with Kerberos

resource "qumulo_nfs_settings" "main" {
  connection_profile = "prod"

  v4_enabled       = true
  auth_sys_enabled = true
  krb5_enabled     = true
  krb5i_enabled    = true
  krb5p_enabled    = false
}

Multi-Cluster with for_each

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

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

  connection_profile = each.value

  v4_enabled       = true
  auth_sys_enabled = true
}

Schema

Required

  • connection_profile (String) Name of a connection profile defined in the provider block.

Connection profiles centralize cluster credentials at the provider level. Define profiles in the provider block:

provider "qumulo" {
  connection_profiles = [
    {
      name                 = "prod"
      endpoint             = "https://cluster.example.com:8000"
      username             = "admin"
      password             = var.cluster_password
      insecure_skip_verify = true  # For self-signed certificates
    }
  ]
}

Optional

  • auth_sys_enabled (Boolean) Enable AUTH_SYS (traditional UNIX authentication). Defaults to true.
  • krb5_enabled (Boolean) Enable Kerberos 5 authentication. Defaults to false.
  • krb5i_enabled (Boolean) Enable Kerberos 5 with integrity. Defaults to false.
  • krb5p_enabled (Boolean) Enable Kerberos 5 with privacy (encryption). Defaults to false.
  • v4_enabled (Boolean) Enable NFSv4 support. Defaults to true.