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
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
# Create a new RAM user.resource"alicloud_ram_user""user" {
name=var.namedisplay_name=var.namecomments="user"
}
resource"alicloud_ram_group_membership""membership" {
group_name=data.alicloud_ram_groups.groups_ds.groups.0.nameuser_names=[alicloud_ram_user.user.name]
}
data"alicloud_ram_groups""groups_ds" {
name_regex=var.group_name
}
Expected Behavior
Ther user_group already have another users. After terraform apply the user mentioned above will add to this group.
When I run terrform destory after terraform apply. The user will remove from this group.
Actual Behavior
All users in this group are destoryed. It's a dangerous operation.
The text was updated successfully, but these errors were encountered:
We have identified the problem, and all users under the user group will be read in the current implementation of this resource, so when deleted, all users under the user group will be removed.
Since modifying the implementation of this resource may cause incompatible changes, we are evaluating the fix and will reply to the specific schedule later.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.8.5
terraform-provider-alicloud v1.224
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Ther user_group already have another users. After
terraform apply
the user mentioned above will add to this group.When I run
terrform destory
afterterraform apply
. The user will remove from this group.Actual Behavior
All users in this group are destoryed. It's a dangerous operation.
The text was updated successfully, but these errors were encountered: