From e482d94783330844b47f72a7fc17389ad267cd61 Mon Sep 17 00:00:00 2001 From: talnevo Date: Wed, 21 Dec 2022 13:49:30 -0500 Subject: [PATCH] Fix volume limits for m6id and x2idn instance types --- pkg/cloud/volume_limits.go | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pkg/cloud/volume_limits.go b/pkg/cloud/volume_limits.go index 63179e170f..6e1e3aef58 100644 --- a/pkg/cloud/volume_limits.go +++ b/pkg/cloud/volume_limits.go @@ -20,7 +20,6 @@ var nonNitroInstanceFamilies = map[string]struct{}{ "c7g": {}, "c4": {}, "r4": {}, - "x2idn": {}, "x2iedn": {}, "x2iezn": {}, "x1e": {}, @@ -216,6 +215,16 @@ var nvmeInstanceStoreVolumes = map[string]int{ "m6gd.12xlarge": 2, "m6gd.16xlarge": 2, "m6gd.metal": 2, + "m6id.large": 1, + "m6id.xlarge": 1, + "m6id.2xlarge": 1, + "m6id.4xlarge": 1, + "m6id.8xlarge": 1, + "m6id.12xlarge": 2, + "m6id.16xlarge": 2, + "m6id.24xlarge": 4, + "m6id.32xlarge": 4, + "m6id.metal": 4, "p3dn.24xlarge": 2, "p4d.24xlarge": 8, "r5ad.large": 1, @@ -262,6 +271,10 @@ var nvmeInstanceStoreVolumes = map[string]int{ "x2gd.12xlarge": 2, "x2gd.16xlarge": 2, "x2gd.metal": 2, + "x2idn.16xlarge": 1, + "x2idn.24xlarge": 2, + "x2idn.32xlarge": 2, + "x2idn.metal": 2, "z1d.large": 1, "z1d.xlarge": 1, "z1d.2xlarge": 1,