mirror of https://github.com/hashicorp/consul
Fix HCL
parent
b80c5258fa
commit
b47758dac2
|
@ -224,7 +224,7 @@ The following example demonstrates how to format three different `service-intent
|
|||
|
||||
<CodeTabs tabs={[ "dc1-partition-1", "dc1-partition-2", "dc2-partition-1" ]}>
|
||||
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-9">
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-11">
|
||||
|
||||
|
||||
```hcl
|
||||
|
@ -233,16 +233,18 @@ Name = "api"
|
|||
Namespace = "store"
|
||||
Partition = "partition-1"
|
||||
Sources = [
|
||||
{
|
||||
Name = "api"
|
||||
Action = "allow"
|
||||
Namespace = "store"
|
||||
SamenessGroup = "sameness-group-a"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
</CodeBlockConfig>
|
||||
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-9">
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-11">
|
||||
|
||||
```hcl
|
||||
Kind = "service-intentions"
|
||||
|
@ -250,10 +252,12 @@ Name = "api"
|
|||
Namespace = "store"
|
||||
Partition = "partition-2"
|
||||
Sources = [
|
||||
{
|
||||
Name = "api"
|
||||
Action = "allow"
|
||||
Namespace = "store"
|
||||
SamenessGroup = "sameness-group-a"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -267,10 +271,12 @@ Name = "api"
|
|||
Namespace = "store"
|
||||
Partition = "partition-1"
|
||||
Sources = [
|
||||
{
|
||||
Name = "api"
|
||||
Action = "allow"
|
||||
Namespace = "store"
|
||||
SamenessGroup = "sameness-group-a"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue