Skip to content

Commit b56b694

Browse files
authored
Update get_price action step in benchmark flows (#2143)
Fixes OPS-3918 ## Additional Notes Tested on playground2 env and it looks fine to me
1 parent 7364b3b commit b56b694

9 files changed

Lines changed: 96 additions & 19 deletions

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@
323323
"settings": {
324324
"input": {
325325
"auth": "{{connections['AWS']}}",
326+
"account": {
327+
"accounts": "{{step_1['item']}}"
328+
},
326329
"service": {
327330
"ServiceCode": "AmazonDynamoDB",
328331
"AttributeNames": [
@@ -370,7 +373,10 @@
370373
"customizedInputs": {
371374
"settings": {
372375
"input": {
373-
"auth": true
376+
"auth": true,
377+
"account": {
378+
"accounts": true
379+
}
374380
}
375381
}
376382
}
@@ -419,6 +425,9 @@
419425
"settings": {
420426
"input": {
421427
"auth": "{{connections['AWS']}}",
428+
"account": {
429+
"accounts": "{{step_1['item']}}"
430+
},
422431
"service": {
423432
"ServiceCode": "AmazonDynamoDB",
424433
"AttributeNames": [
@@ -466,7 +475,10 @@
466475
"customizedInputs": {
467476
"settings": {
468477
"input": {
469-
"auth": true
478+
"auth": true,
479+
"account": {
480+
"accounts": true
481+
}
470482
}
471483
}
472484
}
@@ -1334,4 +1346,4 @@
13341346
"@openops/block-http"
13351347
],
13361348
"categories": []
1337-
}
1349+
}

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,9 @@
469469
"settings": {
470470
"input": {
471471
"auth": "{{connections['AWS']}}",
472+
"account": {
473+
"accounts": "{{step_1['item']}}"
474+
},
472475
"service": {
473476
"ServiceCode": "AWSELB",
474477
"AttributeNames": [
@@ -518,7 +521,10 @@
518521
"customizedInputs": {
519522
"settings": {
520523
"input": {
521-
"auth": true
524+
"auth": true,
525+
"account": {
526+
"accounts": true
527+
}
522528
}
523529
}
524530
}
@@ -813,4 +819,4 @@
813819
"@openops/block-http"
814820
],
815821
"categories": []
816-
}
822+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Idle RDS instances.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,9 @@
519519
"settings": {
520520
"input": {
521521
"auth": "{{connections['AWS']}}",
522+
"account": {
523+
"accounts": "{{step_20['accountId']}}"
524+
},
522525
"service": {
523526
"ServiceCode": "AmazonRDS",
524527
"AttributeNames": [
@@ -621,6 +624,14 @@
621624
"actionName": "get_price",
622625
"inputUiInfo": {
623626
"customizedInputs": {
627+
"settings": {
628+
"input": {
629+
"auth": true,
630+
"account": {
631+
"accounts": true
632+
}
633+
}
634+
},
624635
"attributeValue__queryFilters__2": true,
625636
"attributeValue__queryFilters__51683sqr": true,
626637
"attributeValue__queryFilters__30d70fsqr": true,
@@ -867,4 +878,4 @@
867878
"@openops/block-http"
868879
],
869880
"categories": []
870-
}
881+
}

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

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@
318318
"settings": {
319319
"input": {
320320
"auth": "{{connections['AWS']}}",
321+
"account": {
322+
"accounts": "{{step_1['item']}}"
323+
},
321324
"service": {
322325
"ServiceCode": "AmazonEC2",
323326
"AttributeNames": [
@@ -451,7 +454,10 @@
451454
"customizedInputs": {
452455
"settings": {
453456
"input": {
454-
"auth": true
457+
"auth": true,
458+
"account": {
459+
"accounts": true
460+
}
455461
}
456462
}
457463
}
@@ -475,6 +481,9 @@
475481
"settings": {
476482
"input": {
477483
"auth": "{{connections['AWS']}}",
484+
"account": {
485+
"accounts": "{{step_1['item']}}"
486+
},
478487
"service": {
479488
"ServiceCode": "AmazonEC2",
480489
"AttributeNames": [
@@ -605,7 +614,16 @@
605614
"blockType": "OFFICIAL",
606615
"actionName": "get_price",
607616
"inputUiInfo": {
608-
"customizedInputs": {}
617+
"customizedInputs": {
618+
"settings": {
619+
"input": {
620+
"auth": true,
621+
"account": {
622+
"accounts": true
623+
}
624+
}
625+
}
626+
}
609627
},
610628
"packageType": "REGISTRY",
611629
"blockVersion": "0.0.3",
@@ -928,4 +946,4 @@
928946
"@openops/block-http"
929947
],
930948
"categories": []
931-
}
949+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - RDS Extended Support Avoidance.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@
299299
"settings": {
300300
"input": {
301301
"auth": "{{connections['AWS']}}",
302+
"account": {
303+
"accounts": "{{step_1['item']}}"
304+
},
302305
"service": {
303306
"ServiceCode": "AmazonRDS",
304307
"AttributeNames": [
@@ -374,7 +377,10 @@
374377
"customizedInputs": {
375378
"settings": {
376379
"input": {
377-
"auth": true
380+
"auth": true,
381+
"account": {
382+
"accounts": true
383+
}
378384
}
379385
}
380386
}
@@ -783,4 +789,4 @@
783789
"@openops/block-http"
784790
],
785791
"categories": []
786-
}
792+
}

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@
342342
"settings": {
343343
"input": {
344344
"auth": "{{connections['AWS']}}",
345+
"account": {
346+
"accounts": "{{step_28['accountId']}}"
347+
},
345348
"service": {
346349
"ServiceCode": "AmazonEC2",
347350
"AttributeNames": [
@@ -456,7 +459,10 @@
456459
"customizedInputs": {
457460
"settings": {
458461
"input": {
459-
"auth": true
462+
"auth": true,
463+
"account": {
464+
"accounts": true
465+
}
460466
}
461467
},
462468
"attributeValue__queryFilters__2": true,
@@ -717,4 +723,4 @@
717723
"@openops/block-http"
718724
],
719725
"categories": []
720-
}
726+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Unattached Elastic IP Addresses.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@
272272
"settings": {
273273
"input": {
274274
"auth": "{{connections['AWS']}}",
275+
"account": {
276+
"accounts": "{{step_1['item']}}"
277+
},
275278
"service": {
276279
"ServiceCode": "AmazonVPC",
277280
"AttributeNames": [
@@ -315,7 +318,10 @@
315318
"customizedInputs": {
316319
"settings": {
317320
"input": {
318-
"auth": true
321+
"auth": true,
322+
"account": {
323+
"accounts": true
324+
}
319325
}
320326
}
321327
}
@@ -538,4 +544,4 @@
538544
"@openops/block-http"
539545
],
540546
"categories": []
541-
}
547+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Underutilized VPC Interface Endpoints.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@
296296
"settings": {
297297
"input": {
298298
"auth": "{{connections['AWS']}}",
299+
"account": {
300+
"accounts": "{{step_1['item']}}"
301+
},
299302
"service": {
300303
"ServiceCode": "AmazonVPC",
301304
"AttributeNames": [
@@ -350,7 +353,10 @@
350353
"customizedInputs": {
351354
"settings": {
352355
"input": {
353-
"auth": true
356+
"auth": true,
357+
"account": {
358+
"accounts": true
359+
}
354360
}
355361
}
356362
}
@@ -1003,4 +1009,4 @@
10031009
"@openops/block-http"
10041010
],
10051011
"categories": []
1006-
}
1012+
}

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Unused NAT Gateways.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,9 @@
388388
"settings": {
389389
"input": {
390390
"auth": "{{connections['AWS']}}",
391+
"account": {
392+
"accounts": "{{step_1['item']}}"
393+
},
391394
"service": {
392395
"ServiceCode": "AmazonEC2",
393396
"AttributeNames": [
@@ -502,7 +505,10 @@
502505
"customizedInputs": {
503506
"settings": {
504507
"input": {
505-
"auth": true
508+
"auth": true,
509+
"account": {
510+
"accounts": true
511+
}
506512
}
507513
}
508514
}
@@ -760,4 +766,4 @@
760766
"@openops/block-http"
761767
],
762768
"categories": []
763-
}
769+
}

0 commit comments

Comments
 (0)