oci_bds_bds_instance_metastore_config

This resource provides the Bds Instance Metastore Config resource in Oracle Cloud Infrastructure Big Data Service service.

Create and activate external metastore configuration.

Example Usage

resource "oci_bds_bds_instance_metastore_config" "test_bds_instance_metastore_config" {
	#Required
	bds_api_key_id = oci_identity_api_key.test_api_key.id
	bds_api_key_passphrase = var.bds_instance_metastore_config_bds_api_key_passphrase
	bds_instance_id = oci_bds_bds_instance.test_bds_instance.id
	cluster_admin_password = var.bds_instance_metastore_config_cluster_admin_password
	metastore_id = oci_datacatalog_metastore.test_metastore.id

	#Optional
	display_name = var.bds_instance_metastore_config_display_name
}

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

Import

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

$ terraform import oci_bds_bds_instance_metastore_config.test_bds_instance_metastore_config "bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}"