ec2-instancetype-generation

command module
v0.0.0-...-1cac83b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

EC2 InstanceType Generation

Simple golang script that returns all ec2 inventory in a JSON payload divided by whether the instance type is latest generation or not and keyed by instance type.

Build

This is a go project so installing go is a requirement

make build to build the binaries. This will also download the dependencies.

Run

Two binaries are generated. One is for linux/amd64 and the other is for darwin/amd64. AWS access is controlled by the default environment variables defined here. The exception is AWS_REGION instead of AWS_DEFAULT_REGION as that is the environment variable the go sdk looks for.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL