diff --git a/website/content/docs/connect/cluster-peering/usage/create-sameness-groups.mdx b/website/content/docs/connect/cluster-peering/usage/create-sameness-groups.mdx index 4cc584b443c3..c812c1233030 100644 --- a/website/content/docs/connect/cluster-peering/usage/create-sameness-groups.mdx +++ b/website/content/docs/connect/cluster-peering/usage/create-sameness-groups.mdx @@ -224,36 +224,40 @@ The following example demonstrates how to format three different `service-intent - + ```hcl -Kind = "service-intentions" -Name = "api" -Namespace= "store" -Partition="partition-1" -Sources = [ - Name = "api" - Action = "allow" - Namespace = "store" - SamenessGroup = "sameness-group-a" +Kind = "service-intentions" +Name = "api" +Namespace = "store" +Partition = "partition-1" +Sources = [ + { + Name = "api" + Action = "allow" + Namespace = "store" + SamenessGroup = "sameness-group-a" + } ] ``` - + ```hcl -Kind = "service-intentions" -Name = "api" -Namespace= "store" -Partition= "partition-2" -Sources = [ - Name = "api" - Action = "allow" - Namespace = "store" - SamenessGroup = "sameness-group-a" +Kind = "service-intentions" +Name = "api" +Namespace = "store" +Partition = "partition-2" +Sources = [ + { + Name = "api" + Action = "allow" + Namespace = "store" + SamenessGroup = "sameness-group-a" + } ] ``` @@ -262,15 +266,17 @@ Sources = [ ```hcl -Kind = "service-intentions" -Name = "api" -Namespace= "store" -Partition= "partition-1" -Sources = [ - Name = "api" - Action = "allow" - Namespace = "store" - SamenessGroup = "sameness-group-a" +Kind = "service-intentions" +Name = "api" +Namespace = "store" +Partition = "partition-1" +Sources = [ + { + Name = "api" + Action = "allow" + Namespace = "store" + SamenessGroup = "sameness-group-a" + } ] ``` @@ -298,4 +304,4 @@ After creating a sameness group, you can use them with static Consul DNS lookups - [Static Consul DNS lookups](/consul/docs/services/discovery/dns-static-lookups) - [Dynamic Consul DNS lookups](/consul/docs/services/discovery/dns-dynamic-lookups) -- [Failover overview](/consul/docs/connect/failover) \ No newline at end of file +- [Failover overview](/consul/docs/connect/failover)