artilleryio/chaos-lambda

Terminate instances by tags

davinerd opened this issue · 2 comments

Add support in the Chaosfile.json to terminate instances by tags instead of names (implementing 'simianarmy.chaos.ASGtag.key' and 'simianarmy.chaos.ASGtag.value').

Hi @davinerd ,

does this mean, we can leave out the enableForASGs array as empty? As our Lambdas are not part of an ASG, we don't have a value for this param.

You can leave it empty, but bear in mind that if you don't use ASG as parameter to terminate instances, you must use tags.

The index.js looks first for ASG, then tags. If you don't specify tags or ASGs, then your instances will not be affected by chaos-lambda.