oci_datacatalog_metastore

This resource provides the Metastore resource in Oracle Cloud Infrastructure Data Catalog service.

Creates a new metastore.

Example Usage

resource "oci_datacatalog_metastore" "test_metastore" {
	#Required
	compartment_id = var.compartment_id
	default_external_table_location = var.metastore_default_external_table_location
	default_managed_table_location = var.metastore_default_managed_table_location

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	display_name = var.metastore_display_name
	freeform_tags = {"bar-key"= "value"}
}

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

Import

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

$ terraform import oci_datacatalog_metastore.test_metastore "id"