github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/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 node. Currently, defining health checks is not supported.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "consul_node" "foobar" {
    17      address = "192.168.10.10"
    18      name = "foobar"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `address` - (Required) The address of the node being added to
    27    or referenced in the catalog.
    28  
    29  * `name` - (Required) The name of the node being added to or
    30    referenced in the catalog.
    31  
    32  ## Attributes Reference
    33  
    34  The following attributes are exported:
    35  
    36  * `address` - The address of the service.
    37  * `name` - The name of the service.