awsconfig

package
v0.0.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AmiPerRegion = map[string]string{
	"us-east-1":      "ami-0b33d91d",
	"us-east-2":      "ami-c55673a0",
	"us-west-1":      "ami-165a0876",
	"us-west-2":      "ami-f173cc91",
	"ca-central-1":   "ami-ebed508f",
	"eu-west-1":      "ami-70edb016",
	"eu-west-2":      "ami-f1949e95",
	"eu-central-1":   "ami-af0fc0c0",
	"ap-southeast-1": "ami-dc9339bf",
	"ap-southeast-2": "ami-1c47407f",
	"ap-northeast-1": "ami-56d4ad31",
	"ap-northeast-2": "ami-dac312b4",
	"ap-south-1":     "ami-f9daac96",
	"sa-east-1":      "ami-80086dec",
}
View Source
var DefaultAMIUsers = []string{"ec2-user", "ubuntu", "centos", "bitnami", "admin", "root"}

Functions

func IsValidRegion

func IsValidRegion(given string) bool

func ParseInstanceType

func ParseInstanceType(i string) (interface{}, error)

func ParseRegion

func ParseRegion(i string) (interface{}, error)

func StdinInstanceTypeSelector

func StdinInstanceTypeSelector() string

func StdinRegionSelector

func StdinRegionSelector() string

func WarningChangeRegion

func WarningChangeRegion(i interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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