Commit b09a3c3
committed
Fix ODCR usage with Flexible Instance Types
1. Move the code to generate RunInstances with ODCR policies to a better place to clean up the code.
2. Add CreateFleet with Capacity Reservation Resource Groups ARN policy and ListGroupResources policy to head node. These policies are required to create_fleet with Capacity Reservation Resource Group.
3. Only run validator against the first instance type of the InstanceTypes
4. Make test_efa test to use Capacity Reservation Resource Groups ARN
Signed-off-by: Hanwen <[email protected]>1 parent bfc34e3 commit b09a3c3
File tree
3 files changed
+33
-29
lines changed- cli/src/pcluster
- config
- templates
- tests/integration-tests/tests/efa/test_efa/test_efa
3 files changed
+33
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
2467 | | - | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
2468 | 2470 | | |
2469 | 2471 | | |
2470 | 2472 | | |
2471 | 2473 | | |
2472 | 2474 | | |
2473 | | - | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
2474 | 2478 | | |
2475 | 2479 | | |
2476 | 2480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
628 | 654 | | |
629 | 655 | | |
630 | 656 | | |
| |||
654 | 680 | | |
655 | 681 | | |
656 | 682 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments