You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When adding a new rule to the existing dynatrace_autotag_v2 resource, terraform plan reports all rules to be removed, and added again with the new rule.
Similar behaviour is seen in the UI change revision history, that when I added a new rule, it seems to be added on top of the rule list and become rule #1. All other rules are reordered and shown as changes in the revision. I suspect that this caused terraform plan to report such big change, while in reality, there's only 1 rule added and the rests remain the same.
To Reproduce
Steps to reproduce the behavior:
Run terraform apply to create a tag with resource dynatrace_autotag_v2 and 1 rule
Add a new rule into dynatrace_autotag_v2 rules. Run terraform plan
Expected behavior
terraform plan shows 1 new rule to be added
When using rules_maintained_externally=true with "dynatrace_autotag_rules", the behaviour seems to be different that the new rule is added to the bottom (checked via revision history).
Adding and removing a rule does show correctly in terraform output that the particular rule is changed (added/ deleted). However, removing a rule which is in the middle of the rule lists caused the reorder, which can be seen in the UI revision history.
Describe the bug
When adding a new rule to the existing dynatrace_autotag_v2 resource, terraform plan reports all rules to be removed, and added again with the new rule.
Similar behaviour is seen in the UI change revision history, that when I added a new rule, it seems to be added on top of the rule list and become rule #1. All other rules are reordered and shown as changes in the revision. I suspect that this caused terraform plan to report such big change, while in reality, there's only 1 rule added and the rests remain the same.
To Reproduce
Steps to reproduce the behavior:
terraform apply
to create a tag with resource dynatrace_autotag_v2 and 1 ruleterraform plan
Expected behavior
terraform plan shows 1 new rule to be added
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: