oci_opsi_awr_hub

This resource provides the Awr Hub resource in Oracle Cloud Infrastructure Opsi service.

Create a AWR hub resource for the tenant in Operations Insights. This resource will be created in root compartment.

Example Usage

resource "oci_opsi_awr_hub" "test_awr_hub" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.awr_hub_display_name
    operations_insights_warehouse_id = oci_opsi_operations_insights_warehouse.test_operations_insights_warehouse.id

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    freeform_tags = {"bar-key"= "value"}
    object_storage_bucket_name = oci_objectstorage_bucket.test_bucket.name
}

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

Import

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

$ terraform import oci_opsi_awr_hub.test_awr_hub "id"