oci_budget_cost_anomaly_event

This resource provides the Cost Anomaly Event resource in Oracle Cloud Infrastructure Budget service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/budgets/latest/CostAnomalyEvent

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

Update a CostAnomalyEvent identified by the OCID.

Example Usage

resource "oci_budget_cost_anomaly_event" "test_cost_anomaly_event" {
	#Required
	cost_anomaly_event_id = oci_budget_cost_anomaly_event.test_cost_anomaly_event.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	feedback_response = var.cost_anomaly_event_feedback_response
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_budget_cost_anomaly_event.test_cost_anomaly_event "id"