Curator Actions File

If i do just Action 1 of creating the snapshot works, but the second i throw in action 2 . it no longer works.
Anyone see something i dont see ?

actions:
  1:
action: snapshot
description: >-
  Snapshot all indices
options:
  repository: s3
  disabled_action: False
  name:
  ignore_unavailable: True
  ignore_empty_list: True
  partial: False
  wait_for_completion: True
  skip_repo_fs_check: False
  timeout_override: 86400
  continue_if_exception: False
filters:
- filtertype: closed
  exclude: True
  2:
action: delete_snapshots
description: Delete selected snapshots
options:
  repository: s3
  disabled_action: False
  retry_interval: 120
  retry_count: 3
   filters:
   - filtertype: pattern
 kind: prefix
 value: curator
   - filtertype: age
 source: creation_date
 direction: older
 unit: days
 unit_count: 0

Is this exactly what your YAML file looks like? It does not appear to be properly indented/formatted for parsing. Without an accurate representation of your YAML file, I can't investigate it properly.

actions:
  1:
    action: snapshot
    description: >-
      Snapshot all indices
    options:
      repository: s3
      disabled_action: False
      ignore_unavailable: True
      ignore_empty_list: True
      partial: False
      wait_for_completion: True
      timeout_override: 86400
    filters:
    - filtertype: closed
      exclude: True
  2:
    action: delete_snapshots
    description: >-
      Delete selected snapshots
    options:
      repository: s3
      disabled_action: False
      retry_interval: 120
      retry_count: 3
   filters:
   - filtertype: pattern
     kind: prefix
     value: curator
   - filtertype: age
     source: creation_date
     direction: older
     unit: days
     unit_count: 0

exact format

So, you're really trying to delete all snapshots older than today?

What do you see if you run action 2 by itself (you can accomplish this by setting disabled_action: true for action 1) using --dry-run and logging at DEBUG level?