Localstack: Running awslocal in the latest image fails

Created on 12 Nov 2019  路  3Comments  路  Source: localstack/localstack

Running the awslocal command in the localstack/localstack:latest image (digest e022a3263089) fails with

bash-5.0# awslocal
Traceback (most recent call last):
  File "/usr/bin/awslocal", line 29, in <module>
    from localstack_client import config
ModuleNotFoundError: No module named 'localstack_client'

Using the localstack/localstack:0.10.5 image (digest cbcdc058f1d2) works:

bash-4.4# awslocal
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help
aws: error: too few arguments

Most helpful comment

All 3 comments

Seeing the same issue. Added pip install awscli-local to top of script for the time being.

For those looking for an immediate fix, localstack/localstack:0.10.4 works just fine

Was this page helpful?
0 / 5 - 0 ratings