pruneops_cost_anomaly_settings (Resource)¶
The organization's cost-anomaly alert settings (one per organization: declare it once). An anomaly alerts when it reaches both floors. Destroying it restores the defaults.
Example Usage¶
# One per organization. Alert only on anomalies of at least $50/month that
# jump at least 30% over the baseline.
resource "pruneops_cost_anomaly_settings" "this" {
sensitivity = "high"
min_monthly_impact = 50
min_delta_pct = 30
}
Schema¶
Optional¶
min_delta_pct(Number) Minimum jump over the baseline (%) to alert, 0-100.min_monthly_impact(Number) Minimum projected monthly impact (USD) to alert.sensitivity(String) Detection sensitivity: low, medium or high.
Read-Only¶
id(String) Always "organization".
Import¶
Import is supported using the following syntax:
The terraform import command can be used, for example:
terraform import pruneops_cost_anomaly_settings.this organization