clusterinthecloud / terraform

Terraform config for Cluster in the Cloud
https://cluster-in-the-cloud.readthedocs.io
MIT License
20 stars 23 forks source link

AWS c7g instances unknown to CitC #71

Open boegel opened 2 years ago

boegel commented 2 years ago
Error: Could not find shape information for 'c7g.2xlarge'.

It seems like my existing CitC cluster doesn't know about the c7g (Graviton3) instances yet, see also https://aws.amazon.com/ec2/instance-types/c7g/ .

@milliams Any idea how to fix this (for an existing cluster)? I'm happy to open a PR to add the necessary info so c7g instances are known for new CitC clusters, if you can give me some pointers...

boegel commented 2 years ago

Hmm, https://github.com/clusterinthecloud/support/issues/10 tells me this info should be coming from the AWS API... Apparently that's not the case?

boegel commented 2 years ago

I tried updating boto3 to the latest version using sudo /opt/cloud_sdk/bin/python -m pip install -U boto3.

It seems like CitC is using that the query the AWS SDK for available instance types, but perhaps boto3 isn't aware of C7g yet?!