consul_node

Provides access to Node data in Consul. This can be used to define a node. Currently, defining health checks is not supported.

Example Usage

resource "consul_node" "foobar" {
  address = "192.168.10.10"
  name    = "foobar"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

The consul_node resource can be imported:

$ terraform import consul_node.example node-name