oci_disaster_recovery_dr_plan_execution

This resource provides the Dr Plan Execution resource in Oracle Cloud Infrastructure Disaster Recovery service.

Execute a DR plan for a DR protection group.

Example Usage

resource "oci_disaster_recovery_dr_plan_execution" "test_dr_plan_execution" {
	#Required
	execution_options {
		#Required
		plan_execution_type = var.dr_plan_execution_execution_options_plan_execution_type

		#Optional
		are_prechecks_enabled = var.dr_plan_execution_execution_options_are_prechecks_enabled
		are_warnings_ignored = var.dr_plan_execution_execution_options_are_warnings_ignored
	}
	plan_id = oci_disaster_recovery_plan.test_plan.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.dr_plan_execution_display_name
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution "id"