-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreateStack.txt
More file actions
8 lines (6 loc) · 992 Bytes
/
createStack.txt
File metadata and controls
8 lines (6 loc) · 992 Bytes
1
2
3
4
5
6
7
8
set i = 0
aws cloudformation delete-stack --stack-name jr$i ; @ i++ ; ./compile_stack.py && aws cloudformation create-stack --capabilities CAPABILITY_IAM --template-body file://JarRunnerStackCompiled.yaml --stack-name jr$i
aws cloudformation delete-stack --stack-name jr$i ; ((i++)) ; ./compile_stack.py && aws cloudformation create-stack --capabilities CAPABILITY_IAM --template-body file://JarRunnerStackCompiled.yaml --stack-name jr$i
aws cloudformation delete-stack --stack-name jr$i ; @ i++ ; aws cloudformation create-stack --capabilities CAPABILITY_IAM --template-body file://JarRunnerStack.yaml --stack-name jr$i
aws cloudformation delete-stack --stack-name jr$i ; ((i++)) ; aws cloudformation create-stack --capabilities CAPABILITY_IAM --template-body file://JarRunnerStack.yaml --stack-name jr$i
for lg in `aws logs describe-log-groups |grep logGroupName |grep /aws/lambda/jr |sed 's/.*: "//' | sed 's/",//' | tr "\n" " "`; do aws logs delete-log-group --log-group-name $lg; done