oci_database_tools_database_tools_identity

This resource provides the Database Tools Identity resource in Oracle Cloud Infrastructure Database Tools service.

Creates a new Database Tools identity.

Example Usage

resource "oci_database_tools_database_tools_identity" "test_database_tools_identity" {
	#Required
	compartment_id = var.compartment_id
	credential_key = var.database_tools_identity_credential_key
	database_tools_connection_id = oci_database_tools_database_tools_connection.test_database_tools_connection.id
	display_name = var.database_tools_identity_display_name
	type = var.database_tools_identity_type

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	locks {
		#Required
		type = var.database_tools_identity_locks_type

		#Optional
		message = var.database_tools_identity_locks_message
		related_resource_id = oci_cloud_guard_resource.test_resource.id
		time_created = var.database_tools_identity_locks_time_created
	}
}

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

Import

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

$ terraform import oci_database_tools_database_tools_identity.test_database_tools_identity "id"