Skip to content

Commit 593af62

Browse files
committed
docs: clarify legacy managed alerts enables all preconfigured alerts
1 parent 5576e07 commit 593af62

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
@@ -67,7 +67,6 @@ resource "scaleway_cockpit_alert_manager" "alert_manager" {
6767
### Legacy: Enable managed alerts (Deprecated)
6868

6969
~> **Deprecated:** The `enable_managed_alerts` field is deprecated. Use `preconfigured_alert_ids` instead.
70-
~> **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.
7170

7271
```terraform
7372
resource "scaleway_account_project" "project" {
@@ -89,7 +88,7 @@ resource "scaleway_cockpit_alert_manager" "alert_manager" {
8988
This section lists the arguments that are supported:
9089

9190
- `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.
92-
- `enable_managed_alerts` - **Deprecated** (Optional, Boolean) Use `preconfigured_alert_ids` instead. This field will be removed in a future version.
91+
- `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.
9392
- `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`.
9493
- `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.
9594
- `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)