Skip to content

bug: No terraform diff after manually removing reports to receive in report rules #475

Open
@szEvEz

Description

@szEvEz

Steps to reproduce the behavior:

  • create the resources using the following terraform code
resource "lacework_report_rule" "default" {
  name = "Daily Compliance Reports and Weekly Snapshot"
  severities = [
    "Critical",
    "High",
    "Medium",
    "Low",
    "Info"
  ]

  email_alert_channels = [
    lacework_alert_channel_email.default.id
  ]

  daily_compliance_reports {
    host_security  = true
    aws_cloudtrail = true
    aws_compliance = true
  }
}
  • modify the reports to receive (Settings -> Report Rules)

image

  • run terraform again -> no diff

Expected behavior

Terraform shows a diff

Please complete the following information):

  • OS: Pop!_OS 22.04 LTS
  • Provider Version: v1.5.1
  • Terraform version: v1.4.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions