oci_service_mesh_ingress_gateway_route_table

This resource provides the Ingress Gateway Route Table resource in Oracle Cloud Infrastructure Service Mesh service.

Creates a new IngressGatewayRouteTable.

Example Usage

resource "oci_service_mesh_ingress_gateway_route_table" "test_ingress_gateway_route_table" {
	#Required
	compartment_id = var.compartment_id
	ingress_gateway_id = oci_service_mesh_ingress_gateway.test_ingress_gateway.id
	name = var.ingress_gateway_route_table_name
	route_rules {
		#Required
		destinations {
			#Required
			virtual_service_id = oci_service_mesh_virtual_service.test_virtual_service.id

			#Optional
			port = var.ingress_gateway_route_table_route_rules_destinations_port
			weight = var.ingress_gateway_route_table_route_rules_destinations_weight
		}
		type = var.ingress_gateway_route_table_route_rules_type

		#Optional
		ingress_gateway_host {
			#Required
			name = var.ingress_gateway_route_table_route_rules_ingress_gateway_host_name

			#Optional
			port = var.ingress_gateway_route_table_route_rules_ingress_gateway_host_port
		}
		is_grpc = var.ingress_gateway_route_table_route_rules_is_grpc
		is_host_rewrite_enabled = var.ingress_gateway_route_table_route_rules_is_host_rewrite_enabled
		is_path_rewrite_enabled = var.ingress_gateway_route_table_route_rules_is_path_rewrite_enabled
		path = var.ingress_gateway_route_table_route_rules_path
		path_type = var.ingress_gateway_route_table_route_rules_path_type
		request_timeout_in_ms = var.ingress_gateway_route_table_route_rules_request_timeout_in_ms
	}

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.ingress_gateway_route_table_description
	freeform_tags = {"bar-key"= "value"}
	priority = var.ingress_gateway_route_table_priority
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Ingress Gateway Route Table * update - (Defaults to 20 minutes), when updating the Ingress Gateway Route Table * delete - (Defaults to 20 minutes), when destroying the Ingress Gateway Route Table

Import

IngressGatewayRouteTables can be imported using the id, e.g.

$ terraform import oci_service_mesh_ingress_gateway_route_table.test_ingress_gateway_route_table "id"