From 5548c6f70ab287870ed08c418f479ed5edbab9f7 Mon Sep 17 00:00:00 2001 From: Pahud Hsieh Date: Wed, 7 Nov 2018 18:46:08 +0800 Subject: [PATCH] Update vpc_ip_resource_limit.go add m5a and r5a instance families --- pkg/awsutils/vpc_ip_resource_limit.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkg/awsutils/vpc_ip_resource_limit.go b/pkg/awsutils/vpc_ip_resource_limit.go index ad729c5ec6..11c88f1077 100644 --- a/pkg/awsutils/vpc_ip_resource_limit.go +++ b/pkg/awsutils/vpc_ip_resource_limit.go @@ -92,6 +92,12 @@ var InstanceENIsAvailable = map[string]int{ "m5.4xlarge": 8, "m5.12xlarge": 8, "m5.24xlarge": 15, + "m5a.large": 3, + "m5a.xlarge": 4, + "m5a.2xlarge": 4, + "m5a.4xlarge": 8, + "m5a.12xlarge": 8, + "m5a.24xlarge": 15, "m5d.large": 3, "m5d.xlarge": 4, "m5d.2xlarge": 4, @@ -121,6 +127,12 @@ var InstanceENIsAvailable = map[string]int{ "r5.4xlarge": 8, "r5.12xlarge": 8, "r5.24xlarge": 15, + "r5a.large": 3, + "r5a.xlarge": 4, + "r5a.2xlarge": 4, + "r5a.4xlarge": 8, + "r5a.12xlarge": 8, + "r5a.24xlarge": 15, "r5d.large": 3, "r5d.xlarge": 4, "r5d.2xlarge": 4, @@ -237,6 +249,12 @@ var InstanceIPsAvailable = map[string]int64{ "m5.4xlarge": 30, "m5.12xlarge": 30, "m5.24xlarge": 50, + "m5a.large": 10, + "m5a.xlarge": 15, + "m5a.2xlarge": 15, + "m5a.4xlarge": 30, + "m5a.12xlarge": 30, + "m5a.24xlarge": 50, "m5d.large": 10, "m5d.xlarge": 15, "m5d.2xlarge": 15, @@ -266,6 +284,12 @@ var InstanceIPsAvailable = map[string]int64{ "r5.4xlarge": 30, "r5.12xlarge": 30, "r5.24xlarge": 50, + "r5a.large": 10, + "r5a.xlarge": 15, + "r5a.2xlarge": 15, + "r5a.4xlarge": 30, + "r5a.12xlarge": 30, + "r5a.24xlarge": 50, "r5d.large": 10, "r5d.xlarge": 15, "r5d.2xlarge": 15,