#!/bin/bash -eu # Set concurrency or disable lambda functions # [func ...] c=100 # concurrency d= # disable . opts if [ "$d" = 1 ]; then c=0 fi for func; do echo "$func $(aws lambda put-function-concurrency --function-name "$func" --reserved-concurrent-executions "$c" --output text)" done