From 81704fcd1d4ced38bdac7ae78e630333c09ab0a8 Mon Sep 17 00:00:00 2001 From: Tomer Heber Date: Mon, 23 Oct 2023 06:52:18 -0500 Subject: [PATCH 1/2] Feat: add "Budget exceeded" event name to env0_notification_project_assignment resource (#733) --- env0/resource_notification_project_assignment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/env0/resource_notification_project_assignment.go b/env0/resource_notification_project_assignment.go index 5c5eab3e..d439fe05 100644 --- a/env0/resource_notification_project_assignment.go +++ b/env0/resource_notification_project_assignment.go @@ -27,6 +27,7 @@ func resourceNotificationProjectAssignment() *schema.Resource { "driftDetected", "driftUndetected", "driftFailed", + "budgetExceeded", } return &schema.Resource{ From 5644f4471994075775860cf0364476566ac12cc2 Mon Sep 17 00:00:00 2001 From: update generated docs action Date: Mon, 23 Oct 2023 11:52:51 +0000 Subject: [PATCH 2/2] Update docs --- docs/resources/notification_project_assignment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/notification_project_assignment.md b/docs/resources/notification_project_assignment.md index a6502f25..26cd2138 100644 --- a/docs/resources/notification_project_assignment.md +++ b/docs/resources/notification_project_assignment.md @@ -17,7 +17,7 @@ description: |- ### Required -- `event_names` (List of String) a list of notification events (allowed values: environmentDeployStarted, environmentDestroyStarted, deploySucceeded, destroySucceeded, deployFailed, destroyFailed, deploymentWaitingForUser, deploymentCancelled, environmentDeployResumed, environmentDestroyResumed, environmentMarkedForAutoDestroy, driftDetected, driftUndetected, driftFailed) +- `event_names` (List of String) a list of notification events (allowed values: environmentDeployStarted, environmentDestroyStarted, deploySucceeded, destroySucceeded, deployFailed, destroyFailed, deploymentWaitingForUser, deploymentCancelled, environmentDeployResumed, environmentDestroyResumed, environmentMarkedForAutoDestroy, driftDetected, driftUndetected, driftFailed, budgetExceeded) - `notification_endpoint_id` (String) id of the notification endpoint - `project_id` (String) id of the project