consul/internal/resourcehcl/testdata/no-blocks.hcl

34 lines
433 B
HCL

ID = {
Type = {
Group = "mesh"
GroupVersion = "v1alpha1"
Kind = "Upstreams"
}
}
Data = {
Workloads = {
Prefixes = ["api"]
}
Upstreams = [
{
DestinationRef = {
Type = {
Group = "catalog"
GroupVersion = "v1alpha1"
Kind = "Service"
}
Name = "db"
}
DestinationPort = "tcp"
IpPort = {
Port = 1234
}
}
]
}