oci_datacatalog_data_asset

This resource provides the Data Asset resource in Oracle Cloud Infrastructure Data Catalog service.

Create a new data asset.

Example Usage

resource "oci_datacatalog_data_asset" "test_data_asset" {
    #Required
    catalog_id = oci_datacatalog_catalog.test_catalog.id
    display_name = var.data_asset_display_name
    type_key = var.data_asset_type_key

    #Optional
    description = var.data_asset_description
    properties = var.data_asset_properties
}

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

Import

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

$ terraform import oci_datacatalog_data_asset.test_data_asset "catalogs/{catalogId}/dataAssets/{dataAssetKey}"