From eba27438ca88443015665466496fec454e70f3f3 Mon Sep 17 00:00:00 2001 From: Nimesh Manmohanlal Date: Tue, 24 Oct 2023 14:07:39 +0100 Subject: [PATCH] Add support for 7th gen compute optimized 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 b3858412..15c793a8 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 g5 g4dn 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 + NVME_INSTANCE_FAMILIES = %w[a1 c5 c5a c5ad c5d c5n c6a c6g c6gd c6gn c6i c6id c6in c7i d3 d3en g4 g5 g4dn 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