FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

consul_agent_service

Provides access to Agent Service data in Consul. This can be used to define a service associated with a particular agent. Currently, defining health checks for an agent service is not supported.

Example Usage

resource "consul_agent_service" "app" {
    address = "www.google.com"
    name = "google"
    port = 80
    tags = ["tag0", "tag1"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io