Skip to content

Instantly share code, notes, and snippets.

@zonywhoop
zonywhoop / with-params
Last active May 30, 2025 20:08 — forked from abferm/with-params
Bash script for executing with AWS SSM parameters exported as environment variables. Useful as an entrypoint for docker containers intended to run in ecs
#!/bin/bash
#
#
#
# get-parameters-by-path seems to always max out results to
# adjust this to be more than you need
SSM_MAX_ITEMS=${SSM_MAX_ITEMS:-20}
ssm_available() {