You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"hcp_consul_agent_helm_config" {
source="./modules/hcp/d/hcp_consul_agent_helm_config"# cluster_id - (required) is a type of stringcluster_id=null# expose_gossip_ports - (optional) is a type of boolexpose_gossip_ports=null# kubernetes_endpoint - (required) is a type of stringkubernetes_endpoint=nulltimeouts=[{
default =null
}]
}
variable"cluster_id" {
description="(required) - The ID of the HCP Consul cluster."type=string
}
variable"expose_gossip_ports" {
description="(optional) - Denotes that the gossip ports should be exposed."type=booldefault=null
}
variable"kubernetes_endpoint" {
description="(required) - The FQDN for the Kubernetes API."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
default =string
}
))
default=[]
}
data"hcp_consul_agent_helm_config""this" {
# cluster_id - (required) is a type of stringcluster_id=var.cluster_id# expose_gossip_ports - (optional) is a type of boolexpose_gossip_ports=var.expose_gossip_ports# kubernetes_endpoint - (required) is a type of stringkubernetes_endpoint=var.kubernetes_endpointdynamic"timeouts" {
for_each=var.timeoutscontent {
# default - (optional) is a type of stringdefault=timeouts.value["default"]
}
}
}