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
The current Cognito user group implementation uses Terraform's count meta-argument with a list of groups. This makes the resources sensitive to list order changes, potentially causing unintended group deletions when the order is modified.
Impact
Accidental group deletions can occur during routine configuration updates
User group memberships are lost when groups are recreated
Potential service disruption for users relying on group-based permissions
Problem
The current Cognito user group implementation uses Terraform's
count
meta-argument with a list of groups. This makes the resources sensitive to list order changes, potentially causing unintended group deletions when the order is modified.Impact
Solution
A fix has been proposed in PR #160 which:
count
tofor_each
using group names as stable identifiersThe text was updated successfully, but these errors were encountered: