oci_database_management_external_db_system

This resource provides the External Db System resource in Oracle Cloud Infrastructure Database Management service.

Creates an external DB system and its related resources.

Example Usage

resource "oci_database_management_external_db_system" "test_external_db_system" {
	#Required
	compartment_id = var.compartment_id
	db_system_discovery_id = oci_database_management_db_system_discovery.test_db_system_discovery.id

	#Optional
	database_management_config {
		#Required
		license_model = var.external_db_system_database_management_config_license_model
	}
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.external_db_system_display_name
	freeform_tags = {"Department"= "Finance"}
	stack_monitoring_config {
		#Required
		is_enabled = var.external_db_system_stack_monitoring_config_is_enabled

		#Optional
		metadata = var.external_db_system_stack_monitoring_config_metadata
	}
}

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

Import

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

$ terraform import oci_database_management_external_db_system.test_external_db_system "id"