# workers details used to stress the instance
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
  name: engine-nginx
spec:
  engineState: "active"
  annotationCheck: "false"
  chaosServiceAccount: aws-ssm-chaos-by-id-sa
  experiments:
  - name: aws-ssm-chaos-by-id
    specEC2_INSTANCE_ID:
      components:
        env:
        # number of workers used for stress
        - name: NUMBER_OF_WORKERS
          value: '1'
        # id of the ec2 instance
        - name: EC2_INSTANCE_ID
          value: 'instance-01'
        # region of the ec2 instance
        - name: REGION
          value: '<region of the EC2_INSTANCE_ID>'
        - name: TOTAL_CHAOS_DURATION
          value: '60'
