oci_disaster_recovery_dr_plan

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

Create a DR plan of the specified DR plan type.

Example Usage

resource "oci_disaster_recovery_dr_plan" "test_dr_plan" {
	#Required
	display_name = var.dr_plan_display_name
	dr_protection_group_id = oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id
	type = var.dr_plan_type

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	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 * update - (Defaults to 20 minutes), when updating the Dr Plan * delete - (Defaults to 20 minutes), when destroying the Dr Plan

Import

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

$ terraform import oci_disaster_recovery_dr_plan.test_dr_plan "id"