oci_metering_computation_custom_table

This resource provides the Custom Table resource in Oracle Cloud Infrastructure Metering Computation service.

Returns the created custom table.

Example Usage

resource "oci_metering_computation_custom_table" "test_custom_table" {
	#Required
	compartment_id = var.compartment_id
	saved_custom_table {
		#Required
		display_name = var.custom_table_saved_custom_table_display_name

		#Optional
		column_group_by = var.custom_table_saved_custom_table_column_group_by
		compartment_depth = var.custom_table_saved_custom_table_compartment_depth
		group_by_tag {

			#Optional
			key = var.custom_table_saved_custom_table_group_by_tag_key
			namespace = var.custom_table_saved_custom_table_group_by_tag_namespace
			value = var.custom_table_saved_custom_table_group_by_tag_value
		}
		row_group_by = var.custom_table_saved_custom_table_row_group_by
		version = var.custom_table_saved_custom_table_version
	}
	saved_report_id = oci_metering_computation_saved_report.test_saved_report.id
}

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

Import

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

$ terraform import oci_metering_computation_custom_table.test_custom_table "id"