diff --git a/template.yaml b/template.yaml index b81c6d1..46c2a96 100644 --- a/template.yaml +++ b/template.yaml @@ -653,6 +653,7 @@ Resources: UserPoolGroupAttachment: Type: AWS::Cognito::UserPoolUserToGroupAttachment Condition: AttachUserToPoolGroup + DependsOn: User Properties: GroupName: !Ref UserPoolGroupName Username: !Ref EmailAddress