Module Import alias Import alias Import alias Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad name NameStore body Print Str Print Str Expr Call NameLoad Num Assign NameStore ListLoad Str Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Print BinOpAdd BinOpAdd Str SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Dict Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad Str For NameStore NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Str orelse Assign NameStore Str If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str Str NameLoad Str NameLoad NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd BinOpAdd NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad AttributeLoad NameLoad attr
N/A N/A sys N/A re N/A pprint N/A os N/A N/A N/A json N/A N/A N/A ImportError N/A e N/A N/A Missing json module.  Install with: sudo pip install json N/A If you don't have pip, do this first: sudo easy_install pip N/A N/A exit 2 N/A builders N/A hvm_builder N/A md_header ---
layout: toc-page
title: AMI ID table
id: ami_table
lang: en
---

* Table of contents. This line is required to start the list.
{:toc}

# AMI ID Table


| Region         | Name                     | Ubuntu Version | Instance Type | AMI ID       |
|----------------|--------------------------|----------------|---------------|--------------|
 main N/A N/A argv N/A N/A N/A N/A N/A len N/A sys argv 3 N/A N/A N/A N/A ERROR: You did not give me the Jenkins output file.
	usage:  N/A N/A sys argv N/A 0  <jenkinsoutputfilelocation> <wheretoputtheartifacts>
 N/A N/A exit 1 N/A jenkins_output_file N/A N/A sys argv N/A 1 N/A artifact_file_location N/A N/A sys argv N/A 2 N/A build_number N/A N/A sys argv N/A 3 N/A ubuntu_version N/A N/A sys argv N/A 4 N/A N/A N/A N/A N/A os path isfile jenkins_output_file N/A N/A N/A N/A N/A N/A ERROR: Jenkins output file does not exist ( jenkins_output_file ).
	usage:  N/A N/A sys argv N/A 0  <jenkinsoutputfilelocation> <wheretoputtheartifacts> <build_number> <ubuntu_version>
 N/A N/A exit 1 N/A N/A N/A N/A N/A os path isdir artifact_file_location N/A N/A N/A N/A N/A N/A ERROR: Artifact directory given does not exist ( artifact_file_location ).
	usage:  N/A N/A sys argv N/A 0  <jenkinsoutputfilelocation> <wheretoputtheartifacts> <build_number> <ubuntu_version>
 N/A N/A exit 1 N/A pp N/A N/A pprint PrettyPrinter indent 4 N/A amis N/A N/A artifact_file_md ami_table.md N/A artifact_file_json ami_table.json N/A fo N/A open jenkins_output_file r N/A line fo N/A N/A builder builders N/A N/A N/A N/A re match ^hvm builder N/A N/A instance_type HVM N/A N/A instance_type PV N/A N/A instance_type amis N/A N/A N/A amis N/A instance_type N/A N/A string_to_search_for N/A N/A .* builder : AMIs were created: N/A N/A N/A re match string_to_search_for line N/A N/A temp_line N/A N/A re sub string_to_search_for line N/A data N/A N/A temp_line split \n N/A block data N/A N/A N/A block N/A N/A block N/A N/A re sub \s+ block N/A N/A region ami_id N/A N/A block split : N/A N/A N/A amis N/A instance_type N/A region ami_id N/A N/A N/A fo close N/A name N/A N/A N/A Spinnaker-Ubuntu- ubuntu_version - build_number N/A ubuntu_version 14.04 LTS N/A amazon_console_prefix https://console.aws.amazon.com/ec2/home?region= N/A md_fo N/A open N/A N/A artifact_file_location / artifact_file_md w+ N/A N/A N/A md_fo write md_header N/A instance_type amis N/A N/A region N/A amis N/A instance_type N/A N/A ami_id N/A N/A amis N/A instance_type N/A region N/A line_to_write N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A | region | name | ubuntu_version | instance_type | [ ami_id ]( amazon_console_prefix region #launchAmi= ami_id ) |
 N/A N/A N/A md_fo write line_to_write N/A N/A N/A md_fo close N/A json_fo N/A open N/A N/A artifact_file_location / artifact_file_json w+ N/A N/A N/A json_fo write N/A N/A json dumps amis indent 4 sort_keys True N/A N/A N/A json_fo close N/A N/A N/A __name__ __main__ N/A N/A N/A main N/A sys argv