Skip to content

Commit b078f00

Browse files
committed
docs: clarify legacy managed alerts enables all preconfigured alerts
1 parent a1d5a90 commit b078f00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/resources/cockpit_alert_manager.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ resource "scaleway_cockpit_alert_manager" "alert_manager" {
6868
### Legacy: Enable managed alerts (Deprecated)
6969

7070
~> **Deprecated:** The `enable_managed_alerts` field is deprecated. Use `preconfigured_alert_ids` instead.
71-
~> **Behavior:** Setting `enable_managed_alerts = true` enables *all* Cockpit preconfigured alerts for the project. You cannot filter or disable individual alerts with this legacy flag.
7271

7372
```terraform
7473
resource "scaleway_account_project" "project" {
@@ -91,7 +90,7 @@ resource "scaleway_cockpit_alert_manager" "alert_manager" {
9190
This section lists the arguments that are supported:
9291

9392
- `preconfigured_alert_ids` - (Optional, Set of String) A set of preconfigured alert rule IDs to enable explicitly. Use the [`scaleway_cockpit_preconfigured_alert`](../data-sources/cockpit_preconfigured_alert.md) data source to list available alerts.
94-
- `enable_managed_alerts` - **Deprecated** (Optional, Boolean) Use `preconfigured_alert_ids` instead. This field will be removed in a future version.
93+
- `enable_managed_alerts` - **Deprecated** (Optional, Boolean) Use `preconfigured_alert_ids` instead. This field will be removed in a future version. When set to `true`, it enables *all* preconfigured alerts for the project. You cannot filter or disable individual alerts with this legacy flag.
9594
- `contact_points` - (Optional, List of Map) A list of contact points with email addresses that will receive alerts. Each map should contain a single key `email`.
9695
- `project_id` - (Defaults to the Project ID specified in the [provider configuration](../index.md#project_id)) The ID of the Project the Cockpit is associated with.
9796
- `region` - (Defaults to the region specified in the [provider configuration](../index.md#arguments-reference)) The [region](../guides/regions_and_zones.md#regions) where the [alert manager](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#alert-manager) should be enabled.

0 commit comments

Comments
 (0)