oci_cloud_migrations_migration

This resource provides the Migration resource in Oracle Cloud Infrastructure Cloud Migrations service.

Creates a migration.

Example Usage

resource "oci_cloud_migrations_migration" "test_migration" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.migration_display_name

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    freeform_tags = {"bar-key"= "value"}
    is_completed = var.migration_is_completed
    replication_schedule_id = oci_cloud_migrations_replication_schedule.test_replication_schedule.id
}

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

Import

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

$ terraform import oci_cloud_migrations_migration.test_migration "id"