github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/consul/r/node.html.markdown (about)

     1  ---
     2  layout: "consul"
     3  page_title: "Consul: consul_node"
     4  sidebar_current: "docs-consul-resource-node"
     5  description: |-
     6    Provides access to Node data in Consul. This can be used to define a node.
     7  ---
     8  
     9  # consul_node
    10  
    11  Provides access to Node data in Consul. This can be used to define a
    12  node. Currently, defining health checks is not supported.
    13  
    14  ## Example Usage
    15  
    16  ```hcl
    17  resource "consul_node" "foobar" {
    18    address = "192.168.10.10"
    19    name    = "foobar"
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `address` - (Required) The address of the node being added to,
    28    or referenced in the catalog.
    29  
    30  * `name` - (Required) The name of the node being added to, or
    31    referenced in the catalog.
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `address` - The address of the service.
    38  * `name` - The name of the service.