#!/bin/bash

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

