Skip to content

Commit b8a3087

Browse files
authored
Improve error handling in AWS Benchmark flows (#2205)
Fixes OPS-4092. ## Additional Notes
1 parent bf9fb27 commit b8a3087

16 files changed

Lines changed: 58 additions & 72 deletions

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - ASG Compute Optimizer Recommendations.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1772547722558",
3-
"updated": "1772547722558",
2+
"created": "1775629953478",
3+
"updated": "1775629953478",
44
"name": "AWS Benchmark - ASG Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -182,7 +182,7 @@
182182
"value": false
183183
},
184184
"continueOnFailure": {
185-
"value": false
185+
"value": true
186186
}
187187
}
188188
},
@@ -486,4 +486,4 @@
486486
"@openops/block-http"
487487
],
488488
"categories": []
489-
}
489+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - DynamoDB Over-Provisioned Tables.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567608581",
3-
"updated": "1771567608581",
2+
"created": "1775629968537",
3+
"updated": "1775629968537",
44
"name": "AWS Benchmark - DynamoDB Over-Provisioned Tables",
55
"tags": [],
66
"services": [],
@@ -214,7 +214,6 @@
214214
"valid": true,
215215
"settings": {
216216
"input": {
217-
"auth": null,
218217
"body": {
219218
"data": {
220219
"status": "ok"
@@ -293,7 +292,7 @@
293292
"value": false
294293
},
295294
"continueOnFailure": {
296-
"value": false
295+
"value": true
297296
}
298297
}
299298
},
@@ -578,7 +577,8 @@
578577
"valid": true,
579578
"settings": {
580579
"input": {
581-
"arn": "{{step_n['Table']['TableArn']}}"
580+
"arn": "{{step_n['Table']['TableArn']}}",
581+
"auth": "{{connections['AWS']}}"
582582
},
583583
"blockName": "@openops/block-aws",
584584
"blockType": "OFFICIAL",
@@ -1346,4 +1346,4 @@
13461346
"@openops/block-http"
13471347
],
13481348
"categories": []
1349-
}
1349+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - EBS Compute Optimizer Recommendations.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567403086",
3-
"updated": "1771567403086",
2+
"created": "1775629980699",
3+
"updated": "1775629980699",
44
"name": "AWS Benchmark - EBS Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - EC2 Compute Optimizer Recommendations.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1772547740622",
3-
"updated": "1772547740622",
2+
"created": "1775635011361",
3+
"updated": "1775635011361",
44
"name": "AWS Benchmark - EC2 Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - ECS Compute Optimizer Recommendations.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567412126",
3-
"updated": "1771567412126",
2+
"created": "1775629995572",
3+
"updated": "1775629995572",
44
"name": "AWS Benchmark - ECS Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Idle Compute Optimizer Recommendations.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567418664",
3-
"updated": "1771567418665",
2+
"created": "1775630008688",
3+
"updated": "1775630008688",
44
"name": "AWS Benchmark - Idle Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Idle Elastic Load Balancer (ELB).json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567491415",
3-
"updated": "1771567491415",
2+
"created": "1775630021968",
3+
"updated": "1775630021968",
44
"name": "AWS Benchmark - Idle Elastic Load Balancer (ELB)",
55
"tags": [],
66
"services": [],
@@ -179,7 +179,6 @@
179179
"valid": true,
180180
"settings": {
181181
"input": {
182-
"auth": null,
183182
"body": {
184183
"data": {
185184
"status": "ok"
@@ -258,7 +257,7 @@
258257
"value": false
259258
},
260259
"continueOnFailure": {
261-
"value": false
260+
"value": true
262261
}
263262
}
264263
},
@@ -819,4 +818,4 @@
819818
"@openops/block-http"
820819
],
821820
"categories": []
822-
}
821+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Lambda Compute Optimizer Recommendations.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567423143",
3-
"updated": "1771567423144",
2+
"created": "1775630034988",
3+
"updated": "1775630034988",
44
"name": "AWS Benchmark - Lambda Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - License Compute Optimizer Recommendations.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567427345",
3-
"updated": "1771567427345",
2+
"created": "1775630058676",
3+
"updated": "1775630058676",
44
"name": "AWS Benchmark - License Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Migrate Linux EC2 instances to Graviton.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1772547770997",
3-
"updated": "1772547770997",
2+
"created": "1775630076826",
3+
"updated": "1775630076826",
44
"name": "AWS Benchmark - Migrate Linux EC2 instances to Graviton",
55
"tags": [],
66
"services": [],
@@ -104,7 +104,6 @@
104104
"valid": true,
105105
"settings": {
106106
"input": {
107-
"auth": null,
108107
"body": {
109108
"data": {
110109
"status": "ok"
@@ -183,7 +182,7 @@
183182
"value": false
184183
},
185184
"continueOnFailure": {
186-
"value": false
185+
"value": true
187186
}
188187
}
189188
},
@@ -946,4 +945,4 @@
946945
"@openops/block-http"
947946
],
948947
"categories": []
949-
}
948+
}

0 commit comments

Comments
 (0)