thousandeyes / terraform-provider-thousandeyes

ThousandEyes Terraform Provider
Apache License 2.0
21 stars 26 forks source link

[Bug]: default alert rule is getting removed #154

Open Sraza11 opened 8 months ago

Sraza11 commented 8 months ago

What versions are you using?

2.0.6

What did you expect to happen?

Nothing should happen when I run a terraform plan after upgrading to 2.0.6 version

What actually happened?

after the upgrade to 2.0.6 i am getting the opposite result then what this release pormised. I had no issue with the default alert rule getting attached to a test but now if I run terraform plan it is going to remove the default alert from all of my tests

~ resource "thousandeyes_agent_to_server” "xxxxxx1223" {

    id                     = "3118107"

    # (25 unchanged attributes hidden)

  - alert_rules {

      - rule_id = 448256 -> null

    }

Terraform code to reproduce the bug

Terraform plan

Any additional comments or code?

No response

Steps to reproduce the bug

Run terraform plan for an already configured test that had default alert rule