Ah ok. I had to stare at this for a while to get that, but I think I understand now. Given what I think this all does, what do you think of simplifying this logic a bit as follows? I think some ver...
Ah, I missed the flipped sk/pk fields. Small nit, but can we just add a brief comment saying that to facilitate the reverse lookup, we reverse the primary and sort keys?
Yeah, that's the fun of using polyglot libraries (and why I missed the typo in the first place). The library and its docs are written for TypeScript, but, when they get built for their target langu...
Discussed with @jusdino, and it looks like the system currently does not even support deleting users, so I have removed that entire detail for now to avoid confusion.
After looking this over, I found another way to remove the brittleness of those tests while still assuring the necessary resources are created. I'll update the tests.
Good catch, one of these tests is now redundant. In my initial implementation, the query endpoint was filtering based on permissions. However, during one of our standups it was determined that the ...
Unfortunately (or fortunately, depending on how you want to look at it), onboarding a new compact will require test changes, since we have tests that are explicitly checking IAM permission policies...