Skip to content

Commit a1172d5

Browse files
committed
Add C8g instances to the ClusterInstanceType parameter values
1 parent 060993d commit a1172d5

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [Unreleased]
44
### Changed
55
- Updated the EC2 image ID to the latest Bottlerocket variant.
6+
- Added C8g instances to the `ClusterInstanceType` parameter values.
67

78
### Fixed
89
- Added `should-wait = true` to the EC2 instance configuration so it doesn't register itself in the ECS cluster while in warm pool.

template.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@ def __init__(self, value_one: object, value_two: object) -> None:
7474

7575

7676
arm64_instance_types = [
77+
"c8g.medium",
78+
"c8g.large",
79+
"c8g.xlarge",
80+
"c8g.2xlarge",
81+
"c8g.4xlarge",
82+
"c8g.8xlarge",
83+
"c8g.12xlarge",
84+
"c8g.16xlarge",
85+
"c8g.24xlarge",
86+
"c8g.48xlarge",
7787
"c7g.medium",
7888
"c7g.large",
7989
"c7g.xlarge",
@@ -183,7 +193,7 @@ def __init__(self, value_one: object, value_two: object) -> None:
183193
"ClusterInstanceType",
184194
Type="String",
185195
Description="EC2 instance type to use in your ECS cluster",
186-
Default="c7g.medium",
196+
Default="c8g.medium",
187197
AllowedValues=arm64_instance_types + amd64_instance_types,
188198
))
189199
template.add_parameter_to_group(cluster_instance_type, cluster_params_group)

0 commit comments

Comments
 (0)