oci_database_db_node_console_connection

This resource provides the Db Node Console Connection resource in Oracle Cloud Infrastructure Database service.

Creates a new console connection to the specified database node. After the console connection has been created and is available, you connect to the console using SSH.

Example Usage

resource "oci_database_db_node_console_connection" "test_db_node_console_connection" {
	#Required
	db_node_id = oci_database_db_node.test_db_node.id
	public_key = var.db_node_console_connection_public_key

	#Optional
	defined_tags = var.db_node_console_connection_defined_tags
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_database_db_node_console_connection.test_db_node_console_connection "dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}"