The Site24x7 resource site24x7_amazon_monitor allows you to define a user group based on the ID or name.
Suppose I define a user group based on the name, because nobody can remember an ID. When terraform apply is executed for the first time, everything works fine, but when I execute terraform apply for the second time, Terraform tries to delete the ID.
Of course this does not work and I had to add a lifecycle to ignore changes for the user_group_ids attribute. If this behavior is intentional, it should be documented in some way.
The Site24x7 resource
site24x7_amazon_monitor
allows you to define a user group based on the ID or name.Suppose I define a user group based on the name, because nobody can remember an ID. When
terraform apply
is executed for the first time, everything works fine, but when I executeterraform apply
for the second time, Terraform tries to delete the ID.Of course this does not work and I had to add a lifecycle to ignore changes for the user_group_ids attribute. If this behavior is intentional, it should be documented in some way.