Skip to content

Commit 594ac8a

Browse files
committed
terraform/aws: Replace the instance content in Kconfig.compute
The generated version has many more families. The TARGET_ARCH_* Kconfig settings controls which families and types show up in the menu. New family choices include more cost-effective types like t1, t2, and t3, as well as all of the GPU-enabled instance types. Signed-off-by: Chuck Lever <[email protected]>
1 parent 5575d48 commit 594ac8a

File tree

9 files changed

+13045
-300
lines changed

9 files changed

+13045
-300
lines changed

terraform/aws/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ menu "Resource Location"
44
source "terraform/aws/kconfigs/Kconfig.location"
55
endmenu
66
menu "Compute"
7+
source "terraform/aws/kconfigs/Kconfig.instance"
78
source "terraform/aws/kconfigs/Kconfig.compute"
89
endmenu
910
menu "Storage"

terraform/aws/kconfigs/Kconfig.compute

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,3 @@
1-
choice
2-
prompt "AWS instance types"
3-
help
4-
Instance types comprise varying combinations of hardware
5-
platform, CPU count, memory size, storage, and networking
6-
capacity. Select the type that provides an appropriate mix
7-
of resources for your preferred workflows.
8-
9-
Some instance types are region- and capacity-limited.
10-
11-
See https://aws.amazon.com/ec2/instance-types/ for
12-
details.
13-
14-
config TERRAFORM_AWS_INSTANCE_TYPE_M5
15-
bool "M5"
16-
depends on TARGET_ARCH_X86_64
17-
help
18-
This is a general purpose type powered by Intel Xeon®
19-
Platinum 8175M or 8259CL processors (Skylake or Cascade
20-
Lake).
21-
22-
See https://aws.amazon.com/ec2/instance-types/m5/ for
23-
details.
24-
25-
config TERRAFORM_AWS_INSTANCE_TYPE_M7A
26-
bool "M7a"
27-
depends on TARGET_ARCH_X86_64
28-
help
29-
This is a general purpose type powered by 4th Generation
30-
AMD EPYC processors.
31-
32-
See https://aws.amazon.com/ec2/instance-types/m7a/ for
33-
details.
34-
35-
config TERRAFORM_AWS_INSTANCE_TYPE_I4I
36-
bool "I4i"
37-
depends on TARGET_ARCH_X86_64
38-
help
39-
This is a storage-optimized type powered by 3rd generation
40-
Intel Xeon Scalable processors (Ice Lake) and use AWS Nitro
41-
NVMe SSDs.
42-
43-
See https://aws.amazon.com/ec2/instance-types/i4i/ for
44-
details.
45-
46-
config TERRAFORM_AWS_INSTANCE_TYPE_IS4GEN
47-
bool "Is4gen"
48-
depends on TARGET_ARCH_ARM64
49-
help
50-
This is a Storage-optimized type powered by AWS Graviton2
51-
processors.
52-
53-
See https://aws.amazon.com/ec2/instance-types/i4g/ for
54-
details.
55-
56-
config TERRAFORM_AWS_INSTANCE_TYPE_IM4GN
57-
bool "Im4gn"
58-
depends on TARGET_ARCH_ARM64
59-
help
60-
This is a storage-optimized type powered by AWS Graviton2
61-
processors.
62-
63-
See https://aws.amazon.com/ec2/instance-types/i4g/ for
64-
details.
65-
66-
config TERRAFORM_AWS_INSTANCE_TYPE_C7A
67-
depends on TARGET_ARCH_X86_64
68-
bool "c7a"
69-
help
70-
This is a compute-optimized type powered by 4th generation
71-
AMD EPYC processors.
72-
73-
See https://aws.amazon.com/ec2/instance-types/c7a/ for
74-
details.
75-
76-
endchoice
77-
78-
source "terraform/aws/kconfigs/instance-types/Kconfig.m5"
79-
source "terraform/aws/kconfigs/instance-types/Kconfig.m7a"
80-
source "terraform/aws/kconfigs/instance-types/Kconfig.i4i"
81-
source "terraform/aws/kconfigs/instance-types/Kconfig.is4gen"
82-
source "terraform/aws/kconfigs/instance-types/Kconfig.im4gn"
83-
source "terraform/aws/kconfigs/instance-types/Kconfig.c7a"
84-
851
choice
862
prompt "Linux distribution"
873
default TERRAFORM_AWS_DISTRO_DEBIAN

0 commit comments

Comments
 (0)