oci_opsi_operations_insights_warehouse

This resource provides the Operations Insights Warehouse resource in Oracle Cloud Infrastructure Opsi service.

Create a Operations Insights Warehouse resource for the tenant in Operations Insights. New ADW will be provisioned for this tenant. There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. If the ‘opsi-warehouse-type’ header is passed to the API, a warehouse resource without ADW or Schema provisioning is created.

Example Usage

resource "oci_opsi_operations_insights_warehouse" "test_operations_insights_warehouse" {
	#Required
	compartment_id = var.compartment_id
	cpu_allocated = var.operations_insights_warehouse_cpu_allocated
	display_name = var.operations_insights_warehouse_display_name

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	storage_allocated_in_gbs = var.operations_insights_warehouse_storage_allocated_in_gbs
}

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

Import

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

$ terraform import oci_opsi_operations_insights_warehouse.test_operations_insights_warehouse "id"