mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 09:47:56 -05:00
A parameter that takes a name or an ARN, where AWS answers a malformed ARN with its own error, needs to treat any value starting arn: as an attempted ARN. isArn needs all six fields and would send arn:aws:rds down the name path, so the sites the earlier migration PRs left on purpose still probe with a hand-written startsWith. looksLikeArn is that probe, in one place, so the area PRs that follow can move them off the arn-probe baseline without changing the error a caller sees. Signed-off-by: Hector Ventura <hectorvent@gmail.com>