oci_service_mesh_mesh

This resource provides the Mesh resource in Oracle Cloud Infrastructure Service Mesh service.

Creates a new Mesh.

Example Usage

resource "oci_service_mesh_mesh" "test_mesh" {
	#Required
	certificate_authorities {
		#Required
		id = var.mesh_certificate_authorities_id
	}
	compartment_id = var.compartment_id
	display_name = var.mesh_display_name

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.mesh_description
	freeform_tags = {"bar-key"= "value"}
	mtls {
		#Required
		minimum = var.mesh_mtls_minimum
	}
}

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 Mesh * update - (Defaults to 20 minutes), when updating the Mesh * delete - (Defaults to 20 minutes), when destroying the Mesh

Import

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

$ terraform import oci_service_mesh_mesh.test_mesh "id"