consul_agent_config

The consul_agent_config data source returns configuration data from the agent specified in the provider.

Example Usage

data "consul_agent_config" "remote_agent" {}

output "consul_version" {
  value = "${data.consul_agent_config.remote_agent.version}"
}

Attributes Reference

The following attributes are exported: