Skip to content

Commit 9a07004

Browse files
[IT-4417] Allow Graviton instance types
Add graviton instance types to the list of allowed values. Also replace `g5` with `g4ad` to save cost by using AMD. AWS costs for instance types: https://aws-pricing.com/instances.html
1 parent aa7e2a6 commit 9a07004

File tree

3 files changed

+49
-11
lines changed

3 files changed

+49
-11
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
entry: git-secrets
77
args: [--scan, --recursive]
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.5.0
9+
rev: v6.0.0
1010
hooks:
1111
# On Windows, git will convert all CRLF to LF,
1212
# but only after all hooks are done executing.
@@ -18,20 +18,20 @@ repos:
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020
- repo: https://github.com/adrienverge/yamllint
21-
rev: v1.32.0
21+
rev: v1.37.1
2222
hooks:
2323
- id: yamllint
2424
- repo: https://github.com/aws-cloudformation/cfn-python-lint
25-
rev: v0.83.1
25+
rev: v1.39.1
2626
hooks:
2727
- id: cfn-python-lint
2828
files: .*/.*\.(json|yml|yaml)$
2929
- repo: https://github.com/Lucas-C/pre-commit-hooks
30-
rev: v1.5.4
30+
rev: v1.5.5
3131
hooks:
3232
- id: remove-tabs
3333
- repo: https://github.com/sirosen/check-jsonschema
34-
rev: 0.27.1
34+
rev: 0.33.3
3535
hooks:
3636
- id: check-github-workflows
3737
- id: check-github-actions

templates/ec2/sc-ec2-linux-docker-notebook.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,22 @@ Parameters:
6161
- t3a.large
6262
- t3a.xlarge
6363
- t3a.2xlarge
64+
- t3g.micro
65+
- t3g.small
66+
- t3g.medium
67+
- t3g.large
68+
- t3g.xlarge
69+
- t3g.2xlarge
6470
- m6a.large
6571
- m6a.xlarge
6672
- m6a.2xlarge
6773
- m6a.4xlarge
6874
- m6a.8xlarge
75+
- m6g.large
76+
- m6g.xlarge
77+
- m6g.2xlarge
78+
- m6g.4xlarge
79+
- m6g.8xlarge
6980
- c6a.large
7081
- c6a.xlarge
7182
- c6a.2xlarge
@@ -76,9 +87,17 @@ Parameters:
7687
- r6a.2xlarge
7788
- r6a.4xlarge
7889
- r6a.8xlarge
79-
- g5.xlarge
80-
- g5.2xlarge
81-
- g5.4xlarge
90+
- r6g.large
91+
- r6g.xlarge
92+
- r6g.2xlarge
93+
- r6g.4xlarge
94+
- r6g.8xlarge
95+
- g4ad.xlarge
96+
- g4ad.2xlarge
97+
- g4ad.4xlarge
98+
- g5g.xlarge
99+
- g5g.2xlarge
100+
- g5g.4xlarge
82101
Default: t3a.small
83102
Description: Amazon EC2 Instance Type
84103
Type: String

templates/ec2/sc-ec2-linux-docker.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,22 @@ Parameters:
3939
- t3a.large
4040
- t3a.xlarge
4141
- t3a.2xlarge
42+
- t3g.micro
43+
- t3g.small
44+
- t3g.medium
45+
- t3g.large
46+
- t3g.xlarge
47+
- t3g.2xlarge
4248
- m6a.large
4349
- m6a.xlarge
4450
- m6a.2xlarge
4551
- m6a.4xlarge
4652
- m6a.8xlarge
53+
- m6g.large
54+
- m6g.xlarge
55+
- m6g.2xlarge
56+
- m6g.4xlarge
57+
- m6g.8xlarge
4758
- c6a.large
4859
- c6a.xlarge
4960
- c6a.2xlarge
@@ -54,9 +65,17 @@ Parameters:
5465
- r6a.2xlarge
5566
- r6a.4xlarge
5667
- r6a.8xlarge
57-
- g5.xlarge
58-
- g5.2xlarge
59-
- g5.4xlarge
68+
- r6g.large
69+
- r6g.xlarge
70+
- r6g.2xlarge
71+
- r6g.4xlarge
72+
- r6g.8xlarge
73+
- g4ad.xlarge
74+
- g4ad.2xlarge
75+
- g4ad.4xlarge
76+
- g5g.xlarge
77+
- g5g.2xlarge
78+
- g5g.4xlarge
6079
Default: t3a.small
6180
Description: Amazon EC2 Instance Type
6281
Type: String

0 commit comments

Comments
 (0)