Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ec2): InstanceSize enum does not support 3XLARGE #14746

Closed
cmoore1776 opened this issue May 18, 2021 · 2 comments
Closed

(ec2): InstanceSize enum does not support 3XLARGE #14746

cmoore1776 opened this issue May 18, 2021 · 2 comments
Assignees
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud feature/enhancement A new API to make things easier or more intuitive. A catch-all for general feature requests. feature-request A feature should be added or improved.

Comments

@cmoore1776
Copy link
Contributor

cmoore1776 commented May 18, 2021

The ec2.InstanceSize enum does not provide a value for 3xlarge instances. This is a valid option for some instances such as the z1d.3xlarge

Reproduction Steps

Attempt to describe a z1d.3xlarge instance using the ec2.InstanceType.of() static method. You cannot.

What did you expect to happen?

I expect the ec2.InstanceSize enum to provide a value XLARGE3 which evaluates to the string 3xlarge

What actually happened?

I am unable to create z1d.3xlarge instances with CDK

Environment

  • CDK CLI Version : 1.104.0
  • Framework Version: 1.104.0
  • Node.js Version: 14.17.0
  • OS : macOS BigSur 11.3.1
  • Language (Version): Python 3.9.5

This is 🐛 Bug Report

@cmoore1776 cmoore1776 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 18, 2021
@peterwoodworth
Copy link
Contributor

@rix0rrr could there be some way to automatically support all the types listed here?

@peterwoodworth peterwoodworth added the @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud label May 18, 2021
@rix0rrr rix0rrr assigned njlynch and unassigned rix0rrr Jun 3, 2021
@peterwoodworth peterwoodworth added feature-request A feature should be added or improved. feature/enhancement A new API to make things easier or more intuitive. A catch-all for general feature requests. and removed needs-triage This issue or PR still needs to be triaged. bug This issue is a bug. labels Jun 3, 2021
@github-actions
Copy link

github-actions bot commented Jun 3, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud feature/enhancement A new API to make things easier or more intuitive. A catch-all for general feature requests. feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

4 participants