It looks like `c5.large` is not being allowed as a...
# general
q
It looks like
c5.large
is not being allowed as an EC2 instance type
w
Probably needs to be added to the enumeration in
@pulumi/aws
. You can still use it in the meantime, but would need to cast. Something like
<any>”c5.large”
. Cc @stocky-spoon-28903 who has been working on updating some of these enums recently.
s
Yes, I don’t know of a machine readable source for that so this is manually managed right now. I’ll open a PR shortly
q
s
Sounds like a job for a lambda function to open a PR periodically ;-)
☝️ 1
q
indeed!
curl <https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/index.json> | jq -r '.products | map(.attributes.instanceType) | unique | map(select(. != null))'
💯 2
c