#!/bin/bash

aws lambda invoke --function-name remove_to_to_asg --cli-binary-format raw-in-base64-out --payload '{"key": "value"}' out
sed -i'' -e 's/"//g' out
sleep 10
aws lambda invoke --function-name autoscailing_stop --cli-binary-format raw-in-base64-out --payload '{"key": "value"}' out
sed -i'' -e 's/"//g' out

