oci_bds_bds_instance_resource_principal_configuration

This resource provides the Bds Instance Resource Principal Configuration resource in Oracle Cloud Infrastructure Big Data Service service.

Create a resource principal session token configuration.

Example Usage

resource "oci_bds_bds_instance_resource_principal_configuration" "test_bds_instance_resource_principal_configuration" {
	#Required
	bds_instance_id = oci_bds_bds_instance.test_bds_instance.id
	cluster_admin_password = var.bds_instance_resource_principal_configuration_cluster_admin_password
	display_name = var.bds_instance_resource_principal_configuration_display_name

	#Optional
	session_token_life_span_duration_in_hours = var.bds_instance_resource_principal_configuration_session_token_life_span_duration_in_hours
}

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

Import

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

$ terraform import oci_bds_bds_instance_resource_principal_configuration.test_bds_instance_resource_principal_configuration "bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}"