oci_cloud_migrations_migration_asset

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

Creates a migration asset.

Example Usage

resource "oci_cloud_migrations_migration_asset" "test_migration_asset" {
	#Required
	availability_domain = var.migration_asset_availability_domain
	inventory_asset_id = oci_cloud_migrations_inventory_asset.test_inventory_asset.id
	migration_id = oci_cloud_migrations_migration.test_migration.id
	replication_compartment_id = oci_identity_compartment.test_compartment.id
	snap_shot_bucket_name = oci_objectstorage_bucket.test_bucket.name

	#Optional
	depends_on = var.migration_asset_depends_on
	display_name = var.migration_asset_display_name
	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 Asset * update - (Defaults to 20 minutes), when updating the Migration Asset * delete - (Defaults to 20 minutes), when destroying the Migration Asset

Import

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

$ terraform import oci_cloud_migrations_migration_asset.test_migration_asset "id"