Files
floci/src/main/java/io
Ankit1324 7d961068e1 fix(ec2): DescribeKeyPairs returns InvalidKeyPair.NotFound for missing names/ids (#1932)
DescribeKeyPairs returned an empty list (HTTP 200 / CLI exit 0) when a
requested KeyName or KeyPairId did not exist, instead of the documented
InvalidKeyPair.NotFound fault. Idempotent callers that treat exit 0 as
"present" then skip creating the key pair.

Fail with InvalidKeyPair.NotFound (400) when any explicitly requested
name or id does not resolve, while an unfiltered describe on an empty
account still returns an empty list.

Fixes #1911
2026-07-29 21:55:06 -05:00
..