Skip to content

Commit

Permalink
Add VM Types named after their modern instance names
Browse files Browse the repository at this point in the history
- Also fixes compilation VMs not found because I used the instance name
  not the VM type name.
  • Loading branch information
dsboulder authored and rkoster committed Mar 23, 2023
1 parent 4000cde commit f2a3de3
Show file tree
Hide file tree
Showing 6 changed files with 845 additions and 0 deletions.
200 changes: 200 additions & 0 deletions cloudconfig/aws/base_ops_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,56 @@ const (
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: m5a.large
cloud_properties:
instance_type: m5a.large
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: m5a.xlarge
cloud_properties:
instance_type: m5a.xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: m5a.2xlarge
cloud_properties:
instance_type: m5a.2xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: m5a.4xlarge
cloud_properties:
instance_type: m5a.4xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: m5a.10xlarge
cloud_properties:
instance_type: m5a.10xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
Expand Down Expand Up @@ -226,6 +276,56 @@ const (
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: c5a.large
cloud_properties:
instance_type: c5a.large
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: c5a.xlarge
cloud_properties:
instance_type: c5a.xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: c5a.2xlarge
cloud_properties:
instance_type: c5a.2xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: c5a.4xlarge
cloud_properties:
instance_type: c5a.4xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: c5a.8xlarge
cloud_properties:
instance_type: c5a.8xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
Expand Down Expand Up @@ -276,6 +376,56 @@ const (
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: r5a.large
cloud_properties:
instance_type: r5a.large
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: r5a.xlarge
cloud_properties:
instance_type: r5a.xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: r5a.2xlarge
cloud_properties:
instance_type: r5a.2xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: r5a.4xlarge
cloud_properties:
instance_type: r5a.4xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: r5a.8xlarge
cloud_properties:
instance_type: r5a.8xlarge
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
Expand Down Expand Up @@ -326,6 +476,56 @@ const (
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: t3a.nano
cloud_properties:
instance_type: t3a.nano
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: t3a.micro
cloud_properties:
instance_type: t3a.micro
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: t3a.small
cloud_properties:
instance_type: t3a.small
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: t3a.medium
cloud_properties:
instance_type: t3a.medium
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_types/-
value:
name: t3a.large
cloud_properties:
instance_type: t3a.large
ephemeral_disk:
size: 10240
type: gp3
- type: replace
path: /vm_extensions/name=1GB_ephemeral_disk/cloud_properties?
value:
Expand Down
Loading

0 comments on commit f2a3de3

Please sign in to comment.