FEATURES PRICING ABOUT DOCS LOGIN

consul_service

A high-level resource for creating a Service in Consul. Currently, defining health checks for a service is not supported.

Example Usage

resource "consul_service" "google" {
    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

REQUEST A DEMO