Skip to content

Instantly share code, notes, and snippets.

View skecskes's full-sized avatar
📚
It's always gradually and then suddenly

Stefan Kecskes skecskes

📚
It's always gradually and then suddenly
View GitHub Profile
#!/bin/bash
CONTAINER_NAME=stepfunctions
STATE_MACHINE_DEFINITION=/path/to/yourstatemachine.json
STATE_MACHINE_NAME="Name of your process"
ENV_FILE=path/to/your-stepfunctions-local-credentials.txt
INPUT="{ \"myInput\": \"hello world\"}"
function get_value_from_json(){
VALUE="$(jq .$1 temporary.json)"