Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omitted notification triggers do not remove triggers #1495

Open
Satak opened this issue Oct 15, 2024 · 0 comments
Open

Omitted notification triggers do not remove triggers #1495

Satak opened this issue Oct 15, 2024 · 0 comments
Labels

Comments

@Satak
Copy link

Satak commented Oct 15, 2024

Terraform version

1.9.7

Terraform Configuration Files

resource "tfe_notification_configuration" "notification" {
  name             = var.notification_name
  enabled          = true
  destination_type = "email"
  email_user_ids   = var.email_user_ids # this is a list of strings or empty list
  triggers         = var.triggers # this is a list of strings or empty list
  workspace_id     = var.workspace_id
}

Expected Behavior

I would expect that notification triggers are removed if I provide an empty list or null value for triggers

Actual Behavior

If I provide triggers as an empty list or null Terraform plan will show it would remove triggers but it actually does not do anything.

@Satak Satak added the bug label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant