### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

I cannot register a consumer using `register-stream-consumer`.

### Expected Behavior

I should be able to register a stream consumer without problem.

### How are you starting LocalStack?

With a `docker run` command

### Steps To Reproduce

- Start localstack `docker run --rm -it -p 4566:4566 -p 4571:4571 localstack/localstack:0.12.17`
- Create a kinesis stream `aws --endpoint-url http://localhost:4566 kinesis create-stream --stream-name kinesisStream --shard-count 1`
- Get the arn of that created stream `aws --endpoint-url http://localhost:4566 kinesis describe-stream --stream-name kinesisStream | jq .StreamDescription.StreamARN` (returns `arn:aws:kinesis:us-west-2:000000000000:stream/kinesisStream`)
- Create a consumer `aws --endpoint-url http://localhost:4566 kinesis register-stream-consumer --consumer-name myConsumer --stream-arn arn:aws:kinesis:us-west-2:000000000000:stream/kinesisStream`
- Get error `An error occurred (ResourceNotFoundException) when calling the RegisterStreamConsumer operation: StreamARN arn:aws:kinesis:us-west-2:000000000000:stream/kinesisStream not found` 

### Environment

```markdown
- OS: macOS 11.5.2 
- LocalStack: 0.12.17
```


### Anything else?

_No response_
version = get_elasticsearch_install_version(version)
    install_dir = get_elasticsearch_install_dir(version)
    installed_executable = os.path.join(install_dir, "bin", "elasticsearch")
    if not os.path.exists(installed_executable):
        log_install_msg("Elasticsearch (%s)" % version)
        es_url = ELASTICSEARCH_URLS.get(version)
        if not es_url:
            raise Exception('Unable to find download URL for Elasticsearch version "%s"' % version)
        install_dir_parent = os.path.dirname(install_dir)
        mkdir(install_dir_parent)
        
        tmp_archive = os.path.join(config.TMP_FOLDER, "localstack.%s" % os.path.basename(es_url))
        download_and_extract_with_retry(es_url, tmp_archive, install_dir_parent)
        elasticsearch_dir = glob.glob(os.path.join(install_dir_parent, "elasticsearch*"))
        if not elasticsearch_dir:
            raise Exception("Unable to find Elasticsearch folder in %s" % install_dir_parent)
        shutil.move(elasticsearch_dir[0], install_dir)
        for dir_name in ("data", "logs", "modules", "plugins", "config/scripts"):
            dir_path = os.path.join(install_dir, dir_name)
            mkdir(dir_path)
            chmod_r(dir_path, 0o777)
        
        for plugin in ELASTICSEARCH_PLUGIN_LIST:
            if is_alpine():
                
                os.environ["ES_TMPDIR"] = "/tmp"
            plugin_binary = os.path.join(install_dir, "bin", "elasticsearch-plugin")
            plugin_dir = os.path.join(install_dir, "plugins", plugin)
            if not os.path.exists(plugin_dir):
                LOG.info("Installing Elasticsearch plugin %s" % (plugin))