oci_dbmulticloud_multi_cloud_resource_discovery

This resource provides the Multi Cloud Resource Discovery resource in Oracle Cloud Infrastructure Dbmulticloud service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-multicloud-integrations/latest/MultiCloudResourceDiscovery

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dbmulticloud

Discovers Multicloud Resource and their associated resources based on the information provided.

Example Usage

resource "oci_dbmulticloud_multi_cloud_resource_discovery" "test_multi_cloud_resource_discovery" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.multi_cloud_resource_discovery_display_name
	oracle_db_connector_id = oci_dbmulticloud_oracle_db_connector.test_oracle_db_connector.id
	resource_type = var.multi_cloud_resource_discovery_resource_type

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
	resources_filter = var.multi_cloud_resource_discovery_resources_filter
}

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 Multi Cloud Resource Discovery * update - (Defaults to 20 minutes), when updating the Multi Cloud Resource Discovery * delete - (Defaults to 20 minutes), when destroying the Multi Cloud Resource Discovery

Import

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

$ terraform import oci_dbmulticloud_multi_cloud_resource_discovery.test_multi_cloud_resource_discovery "id"