localstack+ssm how to configure parameters from docker compose

Viewed 542

I am trying to run locally localstack with SSM, the default port I am getting is 4566 but when trying to init params via the docer compose I just ant figure oout how I do it from the docker compose this is what I have :

localstack:
image: 'localstack/localstack'
ports:
  - '4566:4566'
environment:
  - SERVICES=lambda,ssm
  - DEBUG=1
  - DATA_DIR=${DATA_DIR- }
  - PORT_WEB_UI=${PORT_WEB_UI- }
  - LAMBDA_EXECUTOR=local
  - KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
  - DOCKER_HOST=unix:///var/run/docker.sock
  - HOST_TMP_FOLDER=${TMPDIR}
volumes:
  - "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
  - "/var/run/docker.sock:/var/run/docker.sock"

I am trying to figure out how to pass multiple values from the docker-compose file I am aware it can be done after by aws cli

aws --endpoint-url=http://localhost:4566 ssm put-parameter --name "/dev/some_key" --type String --value "vaue" --overwrite --region "us-east-1"

any thoughts?

0 Answers
Related