kops/hack/machine_types
Peter Rifel 1b29afb45d Switch to using ec2.DescribeInstanceTypes for building the MachineType list 2020-04-05 21:16:49 -05:00
..
.gitignore Add makefile changes 2018-08-31 12:42:13 -04:00
BUILD.bazel Switch to using ec2.DescribeInstanceTypes for building the MachineType list 2020-04-05 21:16:49 -05:00
README.md Add readme 2018-08-31 12:42:13 -04:00
machine_types.go Switch to using ec2.DescribeInstanceTypes for building the MachineType list 2020-04-05 21:16:49 -05:00

README.md

Machine Types Generator

To prevent errors or lagging updates, we use this generator to update the known aws machine types that are hard coded in kops.

This generator uses the AWS Pricing API to get most of it's info on what instance types are supported.

Usage

make update-machine-types
git add .
git commit -am "Updated machine types"

TODO:

  • Cross reference other regions besides us-east-1. Currently we just look at one region to determine instance types.