AWS
service_is_deploying
Checks to make sure there is not an in-progress deployment
Rolls back the subnet(s), EKS instance(s), ASG(s) that were affected by the fail_az action
Type | action |
Module | azchaosaws.eks.actions |
Name | recover_az |
Return | bool |
This function rolls back the subnet(s), EC2 instance(s), ASG(s) that were affected by the fail_az action to their previous state. This function is dependent on the state data generated from fail_az. Note that instances that are in terminated state will not be ‘rolled’ back.
Usage
JSON
{
"name": "recover_az",
"type": "action",
"provider": {
"type": "python",
"module": "azchaosaws.eks.actions",
"func": "recover_az"
}
}
YAML
name: recover_az
provider:
func: recover_az
module: azchaosaws.eks.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
state_path | string | /tmp/fail_eks_az.json | No | Local Path to Operation | Path to a local file that holds the information of this operation, defined in fail_az action. Unless you need to run this action multiple times in the same experiment, you can ignore this field |
Signature
def recover_az(
state_path: str = "fail_az.{}.json".format(__package__.split(".", 1)[1]),
configuration: Configuration = None,
) -> bool:
pass