localstack icon indicating copy to clipboard operation
localstack copied to clipboard

localstack config show does not show current config

Open biergit opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

I'm running DATA_DIR=/tmp/localstack/data SERVICES=sqs LS_LOG=trace localstack start on WSL Windows 10 and executing localstack config show does not show any of the set values. They can be seen in the log though:

Run container with cmd: ['docker', 'run', '--rm', '--name', 'localstack_main', '-v', '/tmp/localstack/var_libs:/var/lib/localstack/var_libs', '-v', '/tmp/localstack/cache:/var/lib/localstack/cache', '-v', '/tmp/localstack:/tmp/localstack', '-v', '/tmp/localstack/data:/tmp/localstack_data', '-v', '/var/run/docker.sock:/var/run/docker.sock', '-p', '127.0.0.1:4566:4566', '-p', '127.0.0.1:4510-4559:4510-4559', '-e', 'SERVICES=sqs', '-e', 'DEFAULT_REGION=us-east-1', '-e', 'LS_LOG=trace', '-e', 'TEST_AWS_ACCOUNT_ID=000000000000', '-e', 'DOCKER_HOST=unix:///var/run/docker.sock', '-e', 'HOST_TMP_FOLDER=/tmp/localstack', '-e', 'SET_TERM_HANDLER=1', '-e', 'DATA_DIR=/tmp/localstack_data', '--privileged', 'localstack/localstack']
2022-06-16T10:54:54.736:DEBUG:localstack.utils.run: Executing command: ['docker', 'run', '--rm', '--name', 'localstack_main', '-v', '/tmp/localstack/var_libs:/var/lib/localstack/var_libs', '-v', '/tmp/localstack/cache:/var/lib/localstack/cache', '-v', '/tmp/localstack:/tmp/localstack', '-v', '/tmp/localstack/data:/tmp/localstack_data', '-v', '/var/run/docker.sock:/var/run/docker.sock', '-p', '127.0.0.1:4566:4566', '-p', '127.0.0.1:4510-4559:4510-4559', '-e', 'SERVICES=sqs', '-e', 'DEFAULT_REGION=us-east-1', '-e', 'LS_LOG=trace', '-e', 'TEST_AWS_ACCOUNT_ID=000000000000', '-e', 'DOCKER_HOST=unix:///var/run/docker.sock', '-e', 'HOST_TMP_FOLDER=/tmp/localstack', '-e', 'SET_TERM_HANDLER=1', '-e', 'DATA_DIR=/tmp/localstack_data', '--privileged', 'localstack/localstack']

Expected Behavior

localstack config show displays the current config.

How are you starting LocalStack?

With the localstack script

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

DATA_DIR=/tmp/localstack/data SERVICES=sqs LS_LOG=trace localstack start` on WSL Windows 10 Docker Desktop 4.9.0

Environment

- OS: Ubuntu 20.04 WSL Windows 10
- LocalStack: 0.14.3.2

Anything else?

No response

biergit avatar Jun 16 '22 09:06 biergit

Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our developer guide.

github-actions[bot] avatar Jun 16 '22 09:06 github-actions[bot]

Hi, can I have a try on this issue?

Ian-Yy avatar Oct 18 '22 16:10 Ian-Yy

Please go ahead!

dfangl avatar Oct 18 '22 16:10 dfangl