From 76ce79cd806a72c216a3ed2f741edc7ffcbbb991 Mon Sep 17 00:00:00 2001 From: Nimesh Manmohanlal Date: Thu, 14 Sep 2023 09:10:47 +0100 Subject: [PATCH] Add support for 7th gen vm types --- src/bosh_aws_cpi/lib/cloud/aws/block_device_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bosh_aws_cpi/lib/cloud/aws/block_device_manager.rb b/src/bosh_aws_cpi/lib/cloud/aws/block_device_manager.rb index abf30d4c..380060ab 100644 --- a/src/bosh_aws_cpi/lib/cloud/aws/block_device_manager.rb +++ b/src/bosh_aws_cpi/lib/cloud/aws/block_device_manager.rb @@ -5,7 +5,7 @@ class BlockDeviceManager # Newer, nitro-based instances use NVMe storage volumes. # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances - NVME_INSTANCE_FAMILIES = %w[a1 c5 c5a c5ad c5d c5n c6a c6g c6gd c6gn c6i c6id c6in d3 d3en g4 i3en i4i inf1 m5 m5a m5ad m5d m5dn m5n m5zn m6a m6g m6gd m6i m6id m6idn m6in p3dn p4 r5 r5a r5ad r5b r5d r5dn r5n r6a r6g r6gd r6i r6in r6id r6idn t3 t3a t4g z1d x2iezn].freeze + NVME_INSTANCE_FAMILIES = %w[a1 c5 c5a c5ad c5d c5n c6a c6g c6gd c6gn c6i c6id c6in d3 d3en g4 i3en i4i inf1 m5 m5a m5ad m5d m5dn m5n m5zn m6a m6g m6gd m6i m6id m6idn m6in m7i m7i-flex p3dn p4 r5 r5a r5ad r5b r5d r5dn r5n r6a r6g r6gd r6i r6in r6id r6idn r7iz t3 t3a t4g z1d x2iezn].freeze def initialize(logger, stemcell, vm_cloud_props) @logger = logger