ubergeek42 / domjudge-aws

A set of scripts for running a DOMjudge cluster on AWS
3 stars 1 forks source link

Disable Cloud Watch alarms #3

Closed JPMallow closed 8 years ago

JPMallow commented 8 years ago

When I look through the scripts I have noticed that there are some cloud watch alarms being set. Is there any possibility to disable the cloud watch alarm being created? May be with any flag in setup.sh file.

ubergeek42 commented 8 years ago

Some alarms are necessary for autoscaling actions to occur. Others are set to notify the arn you configure, so you can just set that to something that doesn't actually notify you.

If you just don't want them created at all that is a bit trickier. Terraform doesn't support conditional statements, so it's harder to make a variable that will only create the alarms when necessary. I'd suggest just commenting out the alarms you aren't interested in in the terraform files themselves.

JPMallow commented 8 years ago

ok thanks