oci_bds_bds_instance_api_key

This resource provides the Bds Instance Api Key resource in Oracle Cloud Infrastructure Big Data Service service.

Create an API key on behalf of the specified user.

Example Usage

resource "oci_bds_bds_instance_api_key" "test_bds_instance_api_key" {
	#Required
	bds_instance_id = oci_bds_bds_instance.test_bds_instance.id
	key_alias = var.bds_instance_api_key_key_alias
	passphrase = var.bds_instance_api_key_passphrase
	user_id = oci_identity_user.test_user.id

	#Optional
	default_region = var.bds_instance_api_key_default_region
}

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

Import

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

$ terraform import oci_bds_bds_instance_api_key.test_bds_instance_api_key "bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}"