Skip to content

alicloud.ram.GroupMembership pulumi destroy will clean all group users #715

Description

@lv12312

Describe what happened

v3.56.0

#https://www.pulumi.com/registry/packages/alicloud/api-docs/ram/groupmembership/

example, err := ram.NewGroupMembership(ctx, "groupMembershipResource", &ram.GroupMembershipArgs{
	GroupName: pulumi.String("string"),
	UserNames: pulumi.StringArray{
		pulumi.String("string"),
	},
})

If the group have any other users. When pulumi destroy start. All users in this group will be deleted. It's a dangerous operation.
I want just remove the users that had added to this group.

Sample program

Log output

Affected Resource(s)

No response

Output of pulumi about

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-upstreamThe issue cannot be resolved without action in another repository (may be owned by Pulumi).blockedThe issue cannot be resolved without 3rd party action.kind/bugSome behavior is incorrect or out of spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions