[Fixes #80927728] Test if aws module respects config error specification