nomad_quota_specification

Manages a quota specification in a Nomad cluster.

Example Usage

Registering a quota specification:

resource "nomad_quota_specification" "prod_api" {
  name        = "prod-api"
  description = "Production instances of backend API servers"

  limits {
    region = "global"

    region_limit {
      cpu       = 2400
      memory_mb = 1200
    }
  }
}

Argument Reference

The following arguments are supported:

limits blocks

The limits block describes the quota limits to be enforced. It supports the following arguments:

region_limit blocks

The region_limit block describes the quota limits to be enforced on a region. It supports the following arguments: