oci_capacity_management_occ_availability_catalog

This resource provides the Occ Availability Catalog resource in Oracle Cloud Infrastructure Capacity Management service.

Create availability catalog

Example Usage

resource "oci_capacity_management_occ_availability_catalog" "test_occ_availability_catalog" {
    #Required
    base64encoded_catalog_details = var.occ_availability_catalog_base64encoded_catalog_details
    compartment_id = var.compartment_id
    display_name = var.occ_availability_catalog_display_name
    namespace = var.occ_availability_catalog_namespace
    occ_customer_group_id = oci_capacity_management_occ_customer_group.test_occ_customer_group.id

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    description = var.occ_availability_catalog_description
    freeform_tags = {"bar-key"= "value"}
    metadata_details {
        #Required
        format_version = var.occ_availability_catalog_metadata_details_format_version
    }
}

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

Import

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

$ terraform import oci_capacity_management_occ_availability_catalog.test_occ_availability_catalog "id"