apiVersion: litmuschaos.io/v1alpha1 kind: ChaosEngine metadata: name: nginx-chaos namespace: default spec: annotationCheck: 'false' engineState: 'active' chaosServiceAccount: ec2-terminate-sa monitoring: false # It can be retain/delete jobCleanUpPolicy: 'delete' experiments: - name: ec2-terminate spec: components: env: # set chaos duration (in sec) as desired - name: TOTAL_CHAOS_DURATION value: '60' # Instance ID of the target ec2 instance # If not provided it will select randomly from the region - name: EC2_INSTANCE_ID value: '' # provide the region name of the instace - name: REGION value: ''