oci_core_volume_group_backup

This resource provides the Volume Group Backup resource in Oracle Cloud Infrastructure Core service.

Creates a new backup volume group of the specified volume group. For more information, see Volume Groups.

Example Usage

resource "oci_core_volume_group_backup" "test_volume_group_backup" {
	#Required
	volume_group_id = oci_core_volume_group.test_volume_group.id

	#Optional
	compartment_id = var.compartment_id
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.volume_group_backup_display_name
	freeform_tags = {"Department"= "Finance"}
	type = var.volume_group_backup_type
}

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

Import

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

$ terraform import oci_core_volume_group_backup.test_volume_group_backup "id"