Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Update Ubuntu AMI to 20160509.1 version ami-f9a62c8a
Browse files Browse the repository at this point in the history
  • Loading branch information
Niall Creech committed May 12, 2016
1 parent f82ad2f commit e7bce87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions bootstrap_cfn/config.py
Expand Up @@ -1095,11 +1095,11 @@ def _get_os_data(self):
os_data(dict): Dictionary of OS data in the form
{
'name': 'ubuntu-1404',
'ami': 'ami-464af835',
'ami': 'ami-f9a62c8a',
'region': 'eu-west-1',
'distribution': 'ubuntu',
'type': 'linux',
'release': '20160217.1'
'release': '20160509.1'
}
Exceptions:
Expand All @@ -1110,11 +1110,11 @@ def _get_os_data(self):
available_types = {
'ubuntu-1404': {
'name': 'ubuntu-1404',
'ami': 'ami-464af835',
'ami': 'ami-f95ef58a',
'region': 'eu-west-1',
'distribution': 'ubuntu',
'type': 'linux',
'release': '20160217.1'
'release': '20160509.1'
},
'windows2012': {
'name': 'windows2012',
Expand Down
6 changes: 3 additions & 3 deletions tests/tests.py
Expand Up @@ -73,7 +73,7 @@ def test_iam(self):
'Principal': {'Service': ['ec2.amazonaws.com']}}
]
}
basehost_role_ref = iam.Ref(basehost_role)
basehost_role_ref = Ref(basehost_role)

role_policy = iam.PolicyType('RolePolicies')
role_policy.PolicyName = 'BaseHost'
Expand Down Expand Up @@ -761,7 +761,7 @@ def test_process(self):

mappings = cfn_template['Mappings']
expected = {
'AWSRegion2AMI': {'eu-west-1': {'AMI': 'ami-464af835'}},
'AWSRegion2AMI': {'eu-west-1': {'AMI': 'ami-f95ef58a'}},
'SubnetConfig': {
'VPC': {
'CIDR': '10.0.0.0/16',
Expand Down Expand Up @@ -824,7 +824,7 @@ def test_process_with_vpc_config(self):

mappings = cfn_template['Mappings']
expected = {
'AWSRegion2AMI': {'eu-west-1': {'AMI': 'ami-464af835'}},
'AWSRegion2AMI': {'eu-west-1': {'AMI': 'ami-f95ef58a'}},
'SubnetConfig': {
'VPC': {
'CIDR': '172.22.0.0/16',
Expand Down

0 comments on commit e7bce87

Please sign in to comment.