# -*- coding: utf-8 -*-

from __future__ import print_function
import boto3
import botocore
from builtins import input
import click
import prettytable
import sys

# All ebs image, not instance-store. All latest ubuntu 12.04, but version not
# specified. Maybe need to get from amazon
images = {
    'ap-southeast-1': {'ubuntu14': 'ami-21d30f42'},     # Singapore
    'ap-south-1': {'ubuntu14': 'ami-4a90fa25'},         # Mumbai
    'us-east-1': {'ubuntu14': 'ami-2d39803a'},          # nvirginia
    'us-west-1': {'ubuntu14': 'ami-48db9d28'},          # northcalif
    'us-west-2': {'ubuntu14': 'ami-d732f0b7'},          # oregon
    'eu-west-1': {'ubuntu14': 'ami-ed82e39e'},          # ireland
    'eu-central-1': {'ubuntu14': 'ami-26c43149'},       # frankfurt
    'ap-northeast-1': {'ubuntu14': 'ami-a21529cc'},     # tokyo
    'ap-northeast-2': {'ubuntu14': 'ami-09dc1267'},     # seoul