oci_database_autonomous_database_software_image

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

create Autonomous Database Software Image in the specified compartment.

Example Usage

resource "oci_database_autonomous_database_software_image" "test_autonomous_database_software_image" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.autonomous_database_software_image_display_name
    image_shape_family = var.autonomous_database_software_image_image_shape_family
    source_cdb_id = oci_database_source_cdb.test_source_cdb.id

    #Optional
    defined_tags = var.autonomous_database_software_image_defined_tags
    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 Autonomous Database Software Image * update - (Defaults to 20 minutes), when updating the Autonomous Database Software Image * delete - (Defaults to 20 minutes), when destroying the Autonomous Database Software Image

Import

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

$ terraform import oci_database_autonomous_database_software_image.test_autonomous_database_software_image "id"