oci_database_oneoff_patch

This resource provides the Oneoff Patch resource in Oracle Cloud Infrastructure Database service.

Creates one-off patch for specified database version to download.

Example Usage

resource "oci_database_oneoff_patch" "test_oneoff_patch" {
	#Required
	compartment_id = var.compartment_id
	db_version = var.oneoff_patch_db_version
	display_name = var.oneoff_patch_display_name
	release_update = var.oneoff_patch_release_update

	#Optional
	defined_tags = var.oneoff_patch_defined_tags
	freeform_tags = {"Department"= "Finance"}
	one_off_patches = var.oneoff_patch_one_off_patches
}

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

Import

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

$ terraform import oci_database_oneoff_patch.test_oneoff_patch "id"