Hi @asim, thank you for reporting this and taking the time to prepare the reproduction sample. This looks like a bug. I’ve noted this down on our issue tracker.

We’re deprecating the LocalStack Discuss forum and recommend joining our Slack community for the best support moving forward. For more details, please see our deprecation notice. Thank you for your understanding and continued support!