oci_opsi_awr_hub_source

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

Register Awr Hub source

Example Usage

resource "oci_opsi_awr_hub_source" "test_awr_hub_source" {
	#Required
	awr_hub_id = oci_opsi_awr_hub.test_awr_hub.id
	compartment_id = var.compartment_id
	name = var.awr_hub_source_name
	type = var.awr_hub_source_type

	#Optional
	associated_opsi_id = oci_opsi_associated_opsi.test_associated_opsi.id
	associated_resource_id = oci_usage_proxy_resource.test_resource.id
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
}

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

Import

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

$ terraform import oci_opsi_awr_hub_source.test_awr_hub_source "id"