Commit da8126f
committed
Use only the defined default capacity provider strategies.
An ECS Cluster can have up to 4 default capacity provider strategies.
The previous logic would add every capacity provider defined for either
EC2 or Fargate. Update the logic to only set a default strategy if the
capacity provider sets the default_capacity_provider_strategy map.1 parent bf5bdcd commit da8126f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments