Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1470, in _thread_return

return_data = executor.execute()


 "/usr/lib/python2.7/dist-packages/salt/executors/direct_call.py", line 28, in execute

return self.func(*self.args, **self.kwargs)


 "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 422, in sync_grains

ret = _sync('grains', saltenv, extmod_whitelist, extmod_blacklist)


 "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 99, in _sync

saltenv = _get_top_file_envs()


 "/usr/lib/python2.7/dist-packages/salt/modules/saltutil.py", line 83, in _get_top_file_envs

envs = list(st_.top_matches(top).keys()) or 'base'


 "/usr/lib/python2.7/dist-packages/salt/state.py", line 3152, in top_matches

for saltenv in ext_matches:
TypeError: 'bool' object is not iterable

Traceback (most recent call last):


 "/opt/code/localstack/localstack/services/plugins.py", line 96, in check_infra

check_service_health(api=name, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 115, in check_service_health

raise e


 "/opt/code/localstack/localstack/services/plugins.py", line 111, in check_service_health

plugin.check(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 45, in check

return self.check_function(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/secretsmanager/secretsmanager_starter.py", line 129, in check_secretsmanager

assert isinstance(out['SecretList'], list)
TypeError: 'NoneType' object is not subscriptable
