oci_database_database_software_image

This resource provides the Database Software Image resource in Oracle Cloud Infrastructure Database service.

create database software image in the specified compartment.

Example Usage

resource "oci_database_database_software_image" "test_database_software_image" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.database_software_image_display_name

	#Optional
	database_software_image_one_off_patches = var.database_software_image_database_software_image_one_off_patches
	database_version = var.database_software_image_database_version
	defined_tags = var.database_software_image_defined_tags
	freeform_tags = {"Department"= "Finance"}
	image_shape_family = var.database_software_image_image_shape_family
	image_type = var.database_software_image_image_type
	ls_inventory = var.database_software_image_ls_inventory
	patch_set = var.database_software_image_patch_set
	source_db_home_id = oci_database_db_home.test_db_home.id
}

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 2 hours), when creating the Database Software Image * update - (Defaults to 30 minutes), when updating the Database Software Image * delete - (Defaults to 30 minutes), when destroying the Database Software Image

Import

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

$ terraform import oci_database_database_software_image.test_database_software_image "id"