vault_quota_lease_count

Manage lease count quotas which enforce the number of leases that can be created. A lease count quota can be created at the root level or defined on a namespace or mount by specifying a path when creating the quota.

See Vault's Documentation for more information.

Note this feature is available only with Vault Enterprise.

Example Usage

resource "vault_quota_lease_count" "global" {
  name = "global"
  path = ""
  max_leases = 100
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

Lease count quotas can be imported using their names

$ terraform import vault_quota_lease_count.global global