consul_namespace

The consul_namespace resource provides isolated Consul Enterprise Namespaces.

Example Usage

resource "consul_namespace" "production" {
  name        = "production"
  description = "Production namespace"

  meta = {
    foo = "bar"
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

consul_namespace can be imported. This is useful to manage attributes of the default namespace that is created automatically:

$ terraform import consul_namespace.default default