oci_core_boot_volume_backup

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

Creates a new boot volume backup of the specified boot volume. For general information about boot volume backups, see Overview of Boot Volume Backups

When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.

Example Usage

resource "oci_core_boot_volume_backup" "test_boot_volume_backup" {
	#Required
	boot_volume_id = oci_core_boot_volume.test_boot_volume.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.boot_volume_backup_display_name
	freeform_tags = {"Department"= "Finance"}
	kms_key_id = oci_kms_key.test_key.id
	type = var.boot_volume_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 Boot Volume Backup * update - (Defaults to 20 minutes), when updating the Boot Volume Backup * delete - (Defaults to 20 minutes), when destroying the Boot Volume Backup

Import

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

$ terraform import oci_core_boot_volume_backup.test_boot_volume_backup "id"