# Type of request: This is a ...

[*] bug report
[ ] feature request

# Detailed description

Perhaps not a bug report per se, but this affected me at least. A new version of `lambci/docker-lambda` was pushed recently. [This commit](https://github.com/lambci/docker-lambda/commit/7ece2742a5b0e84eb09d6ed659f123474e619b27) removed hardcoded defaults for `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.

I have a lambda that reads a value from secret in `secretsmanager`. If I don't set dummy values for `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` when creating the lambda invoking it will time out reading the secret.

## Expected behavior

A lambda function can read a secret from `secretsmanager`.

## Actual behavior

Lambda times out trying to read secret.

# Steps to reproduce

Create a lambda which tries to read a secret from `secretsmanager` without adding the environments variables mentioned above.

## Command used to start LocalStack

## Client code (AWS SDK code snippet, or sequence of "awslocal" commands)

This will work:
```bash
awslocal lambda create-function \
  --function-name foo \
  --runtime go1.x \
  --handler main \
  --role arn:aws:iam::123456790:role/ignore \
  --zip-file fileb://foo.zip \
  --environment "Variables={FOO=bar,AWS_ACCOUNT_ID=123456790,AWS_ACCESS_KEY_ID=0,AWS_SECRET_ACCESS_KEY=0}"
```

This will time out while reading:
```bash
awslocal lambda create-function \
  --function-name foo \
  --runtime go1.x \
  --handler main \
  --role arn:aws:iam::123456790:role/ignore \
  --zip-file fileb://foo.zip \
  --environment "Variables={FOO=bar}"
```
0 if the container does not exist.
        """
        with self.docker_container_lock:
            
            container_name = self.get_container_name(func_arn)
            
            
            
            cmd = ("docker ps -a --filter name='%s' "
                   '--format "{{ .Status }} - {{ .Names }}" '
                   '| grep -w "%s" | cat') % (container_name, container_name)
            LOG.debug('Getting status for container "%s": %s' % (container_name, cmd))
            cmd_result = run(cmd)
            
            container_status = cmd_result.strip()
            if len(container_status) == 0:
                return 0
            if container_status.lower().startswith('up '):
                return 1
            return -1
    def get_docker_container_network(self, func_arn):
        """
        Determine the network of a docker container.
        :param func_arn: The ARN of the lambda function.
        :return: name of the container network
        """
        with self.docker_container_lock:
            status = self.get_docker_container_status(func_arn)
            
            if status == 0: