-
Hi, I am trying to manage multiple Server Roles that I have in a server with What would be the best way to manage position of the roles? I'd need them to keep their positions somehow without the need to force "in-place update" every time there is With best regards, Myroslav |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello. Sorry for the delay in replying to your post. The behavior is currently in the specification, and I would appreciate it if you could raise an Issue. |
Beta Was this translation helpful? Give feedback.
-
I'd managed to convince Terraform to start ignoring changes of role position with following snippet inside resource discord_role this {
...
lifecycle {
ignore_changes = [
# Ignore changes to position, e.g. because as soon as object is added,
# others shipt (change their position)
position,
]
}
} Terraform does see the change of attribute but only reads it out of Discord and stores the actual attribute value in state with each
|
Beta Was this translation helpful? Give feedback.
I'd managed to convince Terraform to start ignoring changes of role position with following snippet inside
discord_role
resource.Terraform does see the change of attribute but only reads it out of Discord and stores the actual attribute value in state with each
terraform apply
while reporting following: