-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fetch supported instance types and pricing #25
Comments
An error occurred (ClientException) when calling the CreateComputeEnvironment operation: Error executing request, Exception : Instance type can only be one of [r3, r4, m6g.xlarge, r5, optimal, r5d.24xlarge, m5n, r4.16xlarge, r5a.2xlarge, c6g.4xlarge, x2gd.medium, m6gd.xlarge, m5.xlarge, c5a.2xlarge, r6g.4xlarge, r6g.16xlarge, i3.4xlarge, x2gd.2xlarge, z1d.3xlarge, m5n.24xlarge, a1.medium, c6gd.12xlarge, r5b.16xlarge, m5.large, c5d.large, m6g.2xlarge, m5dn.2xlarge, m6g, c5.large, g4dn.2xlarge, c5.metal, i3en.6xlarge, inf1.2xlarge, d3.4xlarge, r6gd.4xlarge, m5.2xlarge, r6g.xlarge, c4, c5, m5dn.8xlarge, m6gd, r5n.16xlarge, m6g.8xlarge, m6gd.12xlarge, c5a.8xlarge, i2.xlarge, m5d.12xlarge, m5.metal, c5d.metal, m4.4xlarge, m5.12xlarge, inf1, m6g.12xlarge, r5n.4xlarge, m6gd.4xlarge, c4.large, c5d.2xlarge, z1d, d2, d3, r5d.2xlarge, x2gd.large, r5.xlarge, r5b.24xlarge, c4.4xlarge, c4.xlarge, c6g.large, c6gd.medium, r6gd.12xlarge, r4.8xlarge, m5d.xlarge, c6gd.2xlarge, m5.8xlarge, c5.2xlarge, g3.8xlarge, c5n.9xlarge, c5n.2xlarge, r4.2xlarge, c6gn.4xlarge, m5zn.6xlarge, m5zn.12xlarge, m5d.4xlarge, c6g.metal, c5a, c5d, c5d.xlarge, m5n.16xlarge, c6gn, r5ad.xlarge, r5a.8xlarge, c5a.16xlarge, c5n, c6gd, r3.4xlarge, c6g.12xlarge, r5b.xlarge, x1e.xlarge, c5.12xlarge, r5d.xlarge, m6g.large, m6gd.large, i3en.xlarge, c6gd.xlarge, r5n.2xlarge, p2.16xlarge, c6g, a1.metal, d3.xlarge, r6gd.2xlarge, r5dn.8xlarge, x1.16xlarge, r5n.12xlarge, m5a.4xlarge, c5n.metal, c5.xlarge, c5n.4xlarge, g2, m5d.24xlarge, g3, m5zn, c6gn.16xlarge, c5.9xlarge, r5d.8xlarge, d2.2xlarge, c6gd.16xlarge, r5.2xlarge, x1, i3en.2xlarge, r5ad.2xlarge, a1.large, r5b, r5a, r5d, m5n.2xlarge, m6gd.16xlarge, i2.8xlarge, z1d.12xlarge, m6g.metal, m5dn.4xlarge, r3.xlarge, r5n, x1e, m5dn.large, m5.24xlarge, g4dn.12xlarge, c6g.2xlarge, r5d.12xlarge, z1d.xlarge, i3en.24xlarge, m5ad.8xlarge, i3en.3xlarge, c5d.12xlarge, r5a.12xlarge, r5a.4xlarge, m5n.xlarge, c6gn.medium, i3.large, c6gd.large, c5a.12xlarge, r6g, r5ad.16xlarge, c5n.xlarge, i3.metal, c6gd.metal, i3.16xlarge, r6g.12xlarge, c5n.large, m4.16xlarge, i2, i3, x1e.16xlarge, r5.24xlarge, c6g.xlarge, r5.4xlarge, m6gd.8xlarge, m5dn.16xlarge, m6gd.metal, p2.8xlarge, g3.4xlarge, c6gn.8xlarge, r3.8xlarge, m5d.8xlarge, c5a.xlarge, x2gd.12xlarge, m5dn.metal, m5ad.12xlarge, r5ad.large, c5a.large, m4.xlarge, c6gd.4xlarge, g2.2xlarge, m5n.4xlarge, r5ad.12xlarge, m5dn.12xlarge, c4.2xlarge, g2.8xlarge, m5a.24xlarge, c6g.16xlarge, r5.large, m5n.large, z1d.large, x2gd, r3.2xlarge, m5d.2xlarge, m5zn.large, i3en, x1e.8xlarge, m6gd.medium, g4dn.4xlarge, r5d.4xlarge, c5d.24xlarge, r5d.metal, m6g.medium, x1.32xlarge, g4dn.xlarge, x2gd.xlarge, a1.2xlarge, r5b.8xlarge, m5ad.xlarge, r6g.medium, c4.8xlarge, m5a.8xlarge, c5d.9xlarge, m5ad.4xlarge, p2.xlarge, m5n.metal, g3s, r6g.large, r5ad.4xlarge, m5ad.24xlarge, r5ad, c5.24xlarge, r5.16xlarge, g4dn.metal, r4.xlarge, m5a.2xlarge, d3.8xlarge, m5ad.large, i3en.metal, r6g.2xlarge, p3.2xlarge, c6gn.large, m5d.16xlarge, m5a.xlarge, m5zn.xlarge, r5dn.12xlarge, m5dn.24xlarge, i3.2xlarge, r5ad.24xlarge, r6g.8xlarge, m4, r6gd.xlarge, m5, m5dn.xlarge, r5d.large, m5a.12xlarge, z1d.6xlarge, i2.4xlarge, m5zn.metal, x2gd.metal, r5dn.24xlarge, z1d.metal, d3.2xlarge, inf1.24xlarge, r6g.metal, i3.xlarge, x2gd.4xlarge, p3.16xlarge, d2.4xlarge, r5a.16xlarge, r5dn.4xlarge, m5.16xlarge, c6g.medium, i3en.large, m5d.large, r5a.xlarge, r5.8xlarge, m4.10xlarge, c5.4xlarge, r5dn.2xlarge, r5a.24xlarge, i3.8xlarge, c6g.8xlarge, m4.2xlarge, inf1.6xlarge, r5b.large, r5b.4xlarge, m5zn.2xlarge, r5n.metal, d2.xlarge, m5a.large, d2.8xlarge, c5n.18xlarge, m6g.4xlarge, r5n.xlarge, r6gd.large, r5b.12xlarge, m5n.8xlarge, g3.16xlarge, c5.18xlarge, p3.8xlarge, c6gn.xlarge, c6gd.8xlarge, m6g.16xlarge, r4.4xlarge, i3en.12xlarge, x2gd.16xlarge, g4dn.16xlarge, x1e.4xlarge, r5d.16xlarge, m4.large, r6gd.8xlarge, m5ad, g4dn.8xlarge, r5dn.large, r5n.24xlarge, i2.2xlarge, m5dn, m5n.12xlarge, c6gn.12xlarge, p2, r5.metal, p3, c5d.18xlarge, x1e.2xlarge, r5dn.xlarge, a1.xlarge, m5d.metal, c5a.4xlarge, r3.large, m5ad.2xlarge, x1e.32xlarge, z1d.2xlarge, r5ad.8xlarge, r6gd.medium, g3s.xlarge, x2gd.8xlarge, r6gd, m5a.16xlarge, c6gn.2xlarge, r5dn.metal, r5b.2xlarge, g4dn, r6gd.metal, r5.12xlarge, r4.large, c5a.24xlarge, m5ad.16xlarge, a1, r5b.metal, r5n.8xlarge, r6gd.16xlarge, a1.4xlarge, r5dn.16xlarge, m6gd.2xlarge, m5a, r5a.large, m5zn.3xlarge, r5dn, c5d.4xlarge, r5n.large, inf1.xlarge, m5d, m5.4xlarge], RequestId: ffb83731-2b6a-4a2c-92e4-d3b225c070bf |
Currently all supported instance types are hard-coded and this causes issues in regions that may not support a particular instance type.
Moreover, pricing can vary based on regions.
/cc @uray-10
The text was updated successfully, but these errors were encountered: