oci_ocvp_datastore

This resource provides the Datastore resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.

Creates a Oracle Cloud VMware Solution Datastore.

Use the WorkRequest operations to track the creation of the Datastore.

Example Usage

resource "oci_ocvp_datastore" "test_datastore" {
	#Required
	availability_domain = var.datastore_availability_domain
	block_volume_ids = var.datastore_block_volume_ids
	compartment_id = var.compartment_id
	display_name = var.datastore_display_name

	#Optional
	datastore_cluster_id = oci_ocvp_datastore_cluster.test_datastore_cluster.id
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_ocvp_datastore.test_datastore "id"