If the account does not have the right to list the function count (not sure which policy that is) lambda guard crashes with an error because usage is empty.
This small fix reverts to the previous behavior of directly using the region argument in that case.
If the account does not have the right to list the function count (not sure which policy that is) lambda guard crashes with an error because
usage
is empty.This small fix reverts to the previous behavior of directly using the region argument in that case.