We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8857106 commit 44bd5f6Copy full SHA for 44bd5f6
main.tf
@@ -14,4 +14,10 @@ resource "datadog_user" "users" {
14
name = each.value.name
15
roles = [for role in each.value.roles : local.roles[role]]
16
send_user_invitation = each.value.send_user_invitation
17
+
18
+ # Avoids unnecessary resource recreation/drift when users alter their names.
19
+ # Such changes are non-critical and can be safely ignored by Terraform.
20
+ lifecycle {
21
+ ignore_changes = [name]
22
+ }
23
}
0 commit comments