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
When calling awslocal cognito-idp sign-up --client-id s2tgoilejvkhku14yr9vz7o7k7 --username <email> --password <pass> --user-attributes "Name=phone_number,Value=<phone>" "Name=given_name,Value=Test" "Name=family_name,Value=User" with a CustomMessage Lambda trigger configured, the Lambda is receiving the following event object:
Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.
Is there an existing issue for this? No
Current Behavior
When calling
awslocal cognito-idp sign-up --client-id s2tgoilejvkhku14yr9vz7o7k7 --username <email> --password <pass> --user-attributes "Name=phone_number,Value=<phone>" "Name=given_name,Value=Test" "Name=family_name,Value=User"
with a CustomMessage Lambda trigger configured, the Lambda is receiving the following event object:Expected Behavior
Given the same input targeting AWS Cognito, I'd expect an event object with this shape:
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)docker-compose.yml
docker compose up -d
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
aws-cdk Cognito configuration
Trying to create a user:
awslocal cognito-idp sign-up --client-id --username --password --user-attributes "Name=phone_number,Value=" "Name=given_name,Value=Test" "Name=family_name,Value=User"
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: