This is an important feature, as go-chaos requires a single tag to identify the resources to apply the chaos experiment.
tag = "app:my-super-awesome-app-prod"
Execute a chaos job inside a region, to minimize the blast radius.
region = "us-east-1"
Destroys up to the number of resources specified in the count parameter.
config "chaos" {
count = 5
}
go-chaos does not only destroy resources, it can perform a number of different operations in the resources, such as reboot, destroy, stop, delete_content, etc.
This depends on the resource that chaos is being applied.
go-chaos can execute custom scripts as part of the same flow and with the all of the parameters in the providers
job "script" "python3:script.py" {
region = "us-west-2"
namespace = "default"
project = "project1
config {
tag = "hello"
chaos = "terminate"
count = 3
}
}