oci_database_migration_assessment

This resource provides the Assessment resource in Oracle Cloud Infrastructure Database Migration service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-migration/latest/Assessment

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemigration

Create an Assessment resource that contains all the details to perform the database assessment operation, such as source and destination database details, network throughput, accepted downtime etc.

Example Usage

resource "oci_database_migration_assessment" "test_assessment" {
	#Required
	acceptable_downtime = var.assessment_acceptable_downtime
	compartment_id = var.compartment_id
	database_combination = var.assessment_database_combination
	database_data_size = var.assessment_database_data_size
	ddl_expectation = var.assessment_ddl_expectation
	network_speed_megabit_per_second = var.assessment_network_speed_megabit_per_second
	source_database_connection {
		#Required
		id = var.assessment_source_database_connection_id
	}
	target_database_connection {

		#Optional
		connection_type = var.assessment_target_database_connection_connection_type
		database_version = var.assessment_target_database_connection_database_version
		id = var.assessment_target_database_connection_id
		technology_sub_type = var.assessment_target_database_connection_technology_sub_type
		technology_type = var.assessment_target_database_connection_technology_type
	}

	#Optional
	bulk_include_exclude_data = var.assessment_bulk_include_exclude_data
	creation_type = var.assessment_creation_type
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.assessment_description
	display_name = var.assessment_display_name
	exclude_objects {
		#Required
		object = var.assessment_exclude_objects_object

		#Optional
		is_omit_excluded_table_from_replication = var.assessment_exclude_objects_is_omit_excluded_table_from_replication
		owner = var.assessment_exclude_objects_owner
		schema = var.assessment_exclude_objects_schema
		type = var.assessment_exclude_objects_type
	}
	freeform_tags = var.assessment_freeform_tags
	include_objects {
		#Required
		object = var.assessment_include_objects_object

		#Optional
		is_omit_excluded_table_from_replication = var.assessment_include_objects_is_omit_excluded_table_from_replication
		owner = var.assessment_include_objects_owner
		schema = var.assessment_include_objects_schema
		type = var.assessment_include_objects_type
	}
}

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

Import

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

$ terraform import oci_database_migration_assessment.test_assessment "id"