We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
alert_notification_endpoints
resource "logzio_alert_v2" "secrets_admin" { title = "Secrets Role" search_timeframe_minutes = 30 is_enabled = true alert_notification_endpoints = [123, 456, 789, 111] suppress_notifications_minutes = 5 output_type = "JSON" sub_components { account_ids_to_query_on = [123, ] query_string = "type:cloudtrail" group_by_aggregation_fields = [] filter_must = jsonencode( [ { match_phrase = { eventName = { query = "Federate" } } }, ] ) filter_must_not = jsonencode( { bool = { minimum_should_match = 1 should = [ { match_phrase = { "serviceEventDetails.account_id" = "123456" } }, ] } }, ) should_query_on_all_accounts = false operation = "GREATER_THAN" value_aggregation_type = "COUNT" severity_threshold_tiers { severity = "HIGH" threshold = 0 } columns { field_name = "geoip.real_region_name" } columns { field_name = "@timestamp" } } }
logzio_alert_v2.secrets_admin: Modifications complete after 1s [id=5665517] Apply complete! Resources: 0 added, 2 changed, 0 destroyed.
The alert should be updated when it applies and should match the configuration in Terraform.
However, Terraform will always show a diff:
~ alert_notification_endpoints = [ - 789, 123, - 111, 456, + 789, + 111, ]
terraform apply
The text was updated successfully, but these errors were encountered:
Hi @davops, thanks for reporting this bug! We will work on a fix for it.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Affected Resource(s)
alert_notification_endpoints
Terraform Configuration Files
Expected Behavior
The alert should be updated when it applies and should match the configuration in Terraform.
Actual Behavior
However, Terraform will always show a diff:
Steps to Reproduce
terraform apply
Important Factoids
The text was updated successfully, but these errors were encountered: