File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
docs/examples/networking/service_gateway Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ resource "oci_core_vcn" "test_vcn" {
4141data "oci_core_services" "test_services" {
4242 filter {
4343 name = " name"
44- # values = ["Test-Casper-Service", ".*ObjectStorage"]
45- values = [" .*ObjectStorage" ]
44+ values = [" .*Object.*Storage" ]
4645 regex = true
4746 }
4847}
@@ -53,9 +52,6 @@ resource "oci_core_service_gateway" "test_service_gateway" {
5352 services {
5453 service_id = " ${ lookup (data. oci_core_services . test_services . services [0 ], " id" )} "
5554 }
56- /* services {
57- service_id = "${lookup(data.oci_core_services.test_services.services[1], "id")}"
58- }*/
5955 vcn_id = " ${ oci_core_vcn . test_vcn . id } "
6056
6157 # Optional
@@ -80,11 +76,6 @@ resource "oci_core_route_table" "test_route_table" {
8076 destination_type = " SERVICE_CIDR_BLOCK"
8177 network_entity_id = " ${ oci_core_service_gateway . test_service_gateway . id } "
8278 }
83- /* route_rules {
84- destination = "${lookup(data.oci_core_services.test_services.services[1], "cidr_block")}"
85- destination_type = "SERVICE_CIDR_BLOCK"
86- network_entity_id = "${oci_core_service_gateway.test_service_gateway.id}"
87- }*/
8879}
8980
9081resource "oci_core_security_list" "test_security_list" {
You can’t perform that action at this time.
0 commit comments