Fix: add preferred resource IDs - #174
Conversation
…ty groups, EFS file systems, and RDS DB clusters
|
Merged!! Thanks again, two in a row. The before/after script made it easy to trust, and I ran the same check on MiniStack and Floci with your branch: every type now emits the right id and the detail returns 200 on both. One idea for later, not needed now: the test covers the six known cases, but it could walk every entry in |
Thanks for the suggestion! I created #175 to track the registry-wide botocore invariant test. I’d be happy to take this one on. |
Summary
Fixes #170.
Generic resource lists selected the wrong identifier for five resource types, causing detail requests to return HTTP 500:
PolicyNameArnVpcIdSubnetIdVpcIdGroupIdNameFileSystemIdHostedZoneIdDBClusterIdentifierAdds the five
_PREFERRED_ID_FIELDoverrides, fixing the generic API and CLI list output.Replaces the API Gateway-only test with parameterized coverage for all six resource types. Fixtures include every field from the botocore list-response model to catch identifier collisions. CLI table and CSV output are also checked.
Testing
Create script: scripts/issue_170.sh
Befor Fix (main)
After Fix