actionAZ:ELBv2

recover_az

Rolls back the ELB(s) that were affected by the fail_az action

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Moduleazchaosaws.elbv2.actions
Namerecover_az
Returnbool

This function rolls back the ELBv2(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.

Usage

JSON

{
  "name": "recover_az",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "azchaosaws.elbv2.actions",
    "func": "recover_az"
  }
}

YAML

name: recover_az
provider:
  func: recover_az
  module: azchaosaws.elbv2.actions
  type: python
type: action

Arguments

NameTypeDefaultRequired

Signature

def recover_az(
    state_path: str = "fail_az.{}.json".format(__package__.split(".", 1)[1]),
    configuration: Configuration = None,
) -> bool:
    pass