oci_resource_analytics_tenancy_attachment

This resource provides the Tenancy Attachment resource in Oracle Cloud Infrastructure Resource Analytics service.

Creates a TenancyAttachment.

Example Usage

resource "oci_resource_analytics_tenancy_attachment" "test_tenancy_attachment" {
	#Required
	resource_analytics_instance_id = oci_resource_analytics_resource_analytics_instance.test_resource_analytics_instance.id
	tenancy_id = oci_identity_tenancy.test_tenancy.id

	#Optional
	description = var.tenancy_attachment_description
}

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

Import

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

$ terraform import oci_resource_analytics_tenancy_attachment.test_tenancy_attachment "id"