From 9a38ed485b98a959c98027f013dec8a9737a0c0e Mon Sep 17 00:00:00 2001 From: Rebecca Putinski Date: Fri, 6 Mar 2020 10:03:46 -0500 Subject: [PATCH] Add new NVME instance families Fixes #103 [#171659010](https://www.pivotaltracker.com/story/show/171659010) --- 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 7b8b3612..3370c3e5 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[c5 c5d c5n m5 m5a m5ad m5d r5 r5a r5ad r5d t3 t3a z1d].freeze + NVME_INSTANCE_FAMILIES = %w[a1 c5 c5d c5n g4 m5 m5a m5n m5ad m5dn m5d r5 r5a r5ad r5d r5dn t3 t3a z1d].freeze NVME_INSTANCE_TYPES = %w[p3dn.24xlarge].freeze def initialize(logger, stemcell, vm_cloud_props)