Skip to content

Commit 1b7bcff

Browse files
anandhmahalparweza
authored andcommitted
Fixed missing id field in example and added HCL syntax hightlight
1 parent 383370a commit 1b7bcff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/core/local_peering_gateways.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ Any change to a property that does not support update will force the destruction
4848

4949
### Example Usage
5050

51-
```
51+
```hcl
5252
resource "oci_core_local_peering_gateway" "test_local_peering_gateway" {
5353
#Required
5454
compartment_id = "${var.compartment_id}"
5555
vcn_id = "${oci_core_vcn.test_vcn.id}"
5656
5757
#Optional
5858
display_name = "${var.local_peering_gateway_display_name}"
59-
peer_id = "${oci_core_local_peering_gateway.test_local_peering_gateway2}"
59+
peer_id = "${oci_core_local_peering_gateway.test_local_peering_gateway2.id}"
6060
}
6161
```
6262

@@ -88,4 +88,4 @@ data "oci_core_local_peering_gateways" "test_local_peering_gateways" {
8888
compartment_id = "${var.compartment_id}"
8989
vcn_id = "${oci_core_vcn.test_vcn.id}"
9090
}
91-
```
91+
```

0 commit comments

Comments
 (0)