middy icon indicating copy to clipboard operation
middy copied to clipboard

test(ssm): add test for cross-account shared SSM parameters not working

Open iiroj opened this issue 1 week ago • 2 comments

This Draft PR demonstrates a failure scenario in the @middy/ssm middleware where cross-account shared paramaters are not working correctly, as stated in https://github.com/middyjs/middy/issues/1529

Todo List:

  • [ ] All commits are cryptographically signed
  • [ ] Feature/Fix fully implemented
  • [ ] Updated relevant types
  • [x] Added tests (if applicable)
    • [x] Unit tests
    • [ ] Fuzz tests
    • [ ] Type tests
    • [ ] Benchmark tests
  • [ ] Updated relevant documentation
  • [ ] Updated relevant examples

iiroj avatar Dec 03 '25 08:12 iiroj

I also took the liberty of introducing one way to hopefully fix the issue. It's probably not the most optimal solution, though!

iiroj avatar Dec 03 '25 10:12 iiroj

Hey, thanks for putting this together! I’m at AWS re:Invent right now and won’t be able to look into this till I’m back home in a week or so.

willfarrell avatar Dec 03 '25 14:12 willfarrell