oci_database_migration_job

This resource provides the Job resource in Oracle Cloud Infrastructure Database Migration service.

Update Migration Job resource details.

Note: If you wish to use the DMS deprecated API version /20210929 it is necessary to pin the Terraform Provider version to v5.47.0. Newer Terraform provider versions will not support the DMS deprecated API version /20210929

Example Usage

resource "oci_database_migration_job" "test_job" {
	#Required
	job_id = oci_database_migration_job.test_job.id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	display_name = var.job_display_name
	freeform_tags = var.job_freeform_tags
}

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

Import

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

$ terraform import oci_database_migration_job.test_job "id"