git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

cloudformation-2010-05-15.waiters2.json (4137B)


      1 {
      2   "version": 2,
      3   "waiters": {
      4     "StackExists": {
      5       "delay": 5,
      6       "operation": "DescribeStacks",
      7       "maxAttempts": 20,
      8       "acceptors": [
      9         {
     10           "matcher": "status",
     11           "expected": 200,
     12           "state": "success"
     13         },
     14         {
     15           "matcher": "error",
     16           "expected": "ValidationError",
     17           "state": "retry"
     18         }
     19       ]
     20     },
     21     "StackCreateComplete": {
     22       "delay": 30,
     23       "operation": "DescribeStacks",
     24       "maxAttempts": 120,
     25       "description": "Wait until stack status is CREATE_COMPLETE.",
     26       "acceptors": [
     27         {
     28           "argument": "Stacks[].StackStatus",
     29           "expected": "CREATE_COMPLETE",
     30           "matcher": "pathAll",
     31           "state": "success"
     32         },
     33         {
     34           "argument": "Stacks[].StackStatus",
     35           "expected": "CREATE_FAILED",
     36           "matcher": "pathAny",
     37           "state": "failure"
     38         },
     39         {
     40           "argument": "Stacks[].StackStatus",
     41           "expected": "DELETE_COMPLETE",
     42           "matcher": "pathAny",
     43           "state": "failure"
     44         },
     45         {
     46           "argument": "Stacks[].StackStatus",
     47           "expected": "DELETE_FAILED",
     48           "matcher": "pathAny",
     49           "state": "failure"
     50         },
     51         {
     52           "argument": "Stacks[].StackStatus",
     53           "expected": "ROLLBACK_FAILED",
     54           "matcher": "pathAny",
     55           "state": "failure"
     56         },
     57         {
     58           "argument": "Stacks[].StackStatus",
     59           "expected": "ROLLBACK_COMPLETE",
     60           "matcher": "pathAny",
     61           "state": "failure"
     62         },
     63         {
     64           "expected": "ValidationError",
     65           "matcher": "error",
     66           "state": "failure"
     67         }
     68       ]
     69     },
     70     "StackDeleteComplete": {
     71       "delay": 30,
     72       "operation": "DescribeStacks",
     73       "maxAttempts": 120,
     74       "description": "Wait until stack status is DELETE_COMPLETE.",
     75       "acceptors": [
     76         {
     77           "argument": "Stacks[].StackStatus",
     78           "expected": "DELETE_COMPLETE",
     79           "matcher": "pathAll",
     80           "state": "success"
     81         },
     82         {
     83           "expected": "ValidationError",
     84           "matcher": "error",
     85           "state": "success"
     86         },
     87         {
     88           "argument": "Stacks[].StackStatus",
     89           "expected": "DELETE_FAILED",
     90           "matcher": "pathAny",
     91           "state": "failure"
     92         },
     93         {
     94           "argument": "Stacks[].StackStatus",
     95           "expected": "CREATE_FAILED",
     96           "matcher": "pathAny",
     97           "state": "failure"
     98         },
     99         {
    100           "argument": "Stacks[].StackStatus",
    101           "expected": "ROLLBACK_FAILED",
    102           "matcher": "pathAny",
    103           "state": "failure"
    104         },
    105         {
    106           "argument": "Stacks[].StackStatus",
    107           "expected": "UPDATE_ROLLBACK_FAILED",
    108           "matcher": "pathAny",
    109           "state": "failure"
    110         },
    111         {
    112           "argument": "Stacks[].StackStatus",
    113           "expected": "UPDATE_ROLLBACK_IN_PROGRESS",
    114           "matcher": "pathAny",
    115           "state": "failure"
    116         }
    117       ]
    118     },
    119     "StackUpdateComplete": {
    120       "delay": 30,
    121       "maxAttempts": 120,
    122       "operation": "DescribeStacks",
    123       "description": "Wait until stack status is UPDATE_COMPLETE.",
    124       "acceptors": [
    125         {
    126           "argument": "Stacks[].StackStatus",
    127           "expected": "UPDATE_COMPLETE",
    128           "matcher": "pathAll",
    129           "state": "success"
    130         },
    131         {
    132           "expected": "UPDATE_FAILED",
    133           "matcher": "pathAny",
    134           "state": "failure",
    135           "argument": "Stacks[].StackStatus"
    136         },
    137         {
    138           "argument": "Stacks[].StackStatus",
    139           "expected": "UPDATE_ROLLBACK_FAILED",
    140           "matcher": "pathAny",
    141           "state": "failure"
    142         },
    143         {
    144           "expected": "UPDATE_ROLLBACK_COMPLETE",
    145           "matcher": "pathAny",
    146           "state": "failure",
    147           "argument": "Stacks[].StackStatus"
    148         },
    149         {
    150           "expected": "ValidationError",
    151           "matcher": "error",
    152           "state": "failure"
    153         }
    154       ]
    155     }
    156   }
    157 }