Solutionunvalidated
Solved by using this version of SDK — The imported function updateUserGroupStripe lives in a server-side module and interacts with AWS Cognito using the AWS SDK v3. Tension: Cannot destructure property 'environmentVariableSelector' of 'undefined' as it is undefined. Outcome: "@aws-sdk/client-cognito-identity-provider": "https://github.com/aws/aws-sdk-js-v3/issues/7051.
1e10f7bc-6c56-4f1c-8aa9-8071846e1e43
Solved by using this version of SDK — The imported function updateUserGroupStripe lives in a server-side module and interacts with AWS Cognito using the AWS SDK v3. Tension: Cannot destructure property 'environmentVariableSelector' of 'undefined' as it is undefined. Outcome: "@aws-sdk/client-cognito-identity-provider": "https://github.com/aws/aws-sdk-js-v3/issues/7051.