Files
opentf/website/source/docs/providers/consul/r/node.html.markdown
George Christou 61277c0dbd website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00

850 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
consul Consul: consul_node docs-consul-resource-node Provides access to Node data in Consul. This can be used to define a node.

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:

  • address - (Required) The address of the node being added to, or referenced in the catalog.

  • name - (Required) The name of the node being added to, or referenced in the catalog.

Attributes Reference

The following attributes are exported:

  • address - The address of the service.
  • name - The name of the service.