awsconfig

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AmiPerRegion = map[string]string{
	"us-east-1":      "ami-c58c1dd3",
	"us-east-2":      "ami-4191b524",
	"us-west-1":      "ami-7a85a01a",
	"us-west-2":      "ami-4836a428",
	"ca-central-1":   "ami-0bd66a6f",
	"eu-west-1":      "ami-d3c0c4b5",
	"eu-west-2":      "ami-b6daced2",
	"eu-central-1":   "ami-b968bad6",
	"ap-southeast-1": "ami-fc5ae39f",
	"ap-southeast-2": "ami-762a2315",
	"ap-northeast-1": "ami-923d12f5",
	"ap-northeast-2": "ami-9d15c7f3",
	"ap-south-1":     "ami-52c7b43d",
	"sa-east-1":      "ami-2bccae47",
}
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