oci_analytics_analytics_instance

This resource provides the Analytics Instance resource in Oracle Cloud Infrastructure Analytics service.

Create a new AnalyticsInstance in the specified compartment. The operation is long-running and creates a new WorkRequest.

Example Usage

resource "oci_analytics_analytics_instance" "test_analytics_instance" {
    #Required
    capacity {
        #Required
        capacity_type = var.analytics_instance_capacity_capacity_type
        capacity_value = var.analytics_instance_capacity_capacity_value
    }
    compartment_id = var.compartment_id
    feature_set = var.analytics_instance_feature_set
    idcs_access_token = var.analytics_instance_idcs_access_token
    license_type = var.analytics_instance_license_type
    name = var.analytics_instance_name

    #Optional
    defined_tags = {"Operations.CostCenter"= "42"}
    description = var.analytics_instance_description
    email_notification = var.analytics_instance_email_notification
    freeform_tags = {"Department"= "Finance"}
    kms_key_id = oci_kms_key.test_key.id
    network_endpoint_details {
        #Required
        network_endpoint_type = var.analytics_instance_network_endpoint_details_network_endpoint_type

        #Optional
        network_security_group_ids = var.analytics_instance_network_endpoint_details_network_security_group_ids
        subnet_id = oci_core_subnet.test_subnet.id
        vcn_id = oci_core_vcn.test_vcn.id
        whitelisted_ips = var.analytics_instance_network_endpoint_details_whitelisted_ips
        whitelisted_services = var.analytics_instance_network_endpoint_details_whitelisted_services
        whitelisted_vcns {

            #Optional
            id = var.analytics_instance_network_endpoint_details_whitelisted_vcns_id
            whitelisted_ips = var.analytics_instance_network_endpoint_details_whitelisted_vcns_whitelisted_ips
        }
    }
}

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 1 hours), when creating the Analytics Instance * update - (Defaults to 1 hours), when updating the Analytics Instance * delete - (Defaults to 1 hours), when destroying the Analytics Instance

Import

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

$ terraform import oci_analytics_analytics_instance.test_analytics_instance "id"