Skip to content

Commit 9b39cf7

Browse files
author
Dougal Ballantyne
committed
Revert "Updating AMI mapping to support multple Base OS"
This reverts commit ef7b641.
1 parent ef7b641 commit 9b39cf7

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

cloudformation/cfncluster.cfn.json

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -584,30 +584,30 @@
584584
"EBSOpt" : "False"
585585
}
586586
},
587-
"AWSRegionOS2AMI" : {
587+
"AWSRegionArch2AMI" : {
588588
"eu-west-1" : {
589-
"centos" : "ami-22953255"
589+
"64HVM" : "ami-22953255"
590590
},
591591
"us-east-1" : {
592-
"centos" : "ami-1a69c072"
592+
"64HVM" : "ami-1a69c072"
593593
},
594594
"ap-northeast-1" : {
595-
"centos" : "ami-8f012e8e"
595+
"64HVM" : "ami-8f012e8e"
596596
},
597597
"us-west-2" : {
598-
"centos" : "ami-7f8ece4f"
598+
"64HVM" : "ami-7f8ece4f"
599599
},
600600
"sa-east-1" : {
601-
"centos" : "ami-2962c834"
601+
"64HVM" : "ami-2962c834"
602602
},
603603
"us-west-1" : {
604-
"centos" : "ami-79afa63c"
604+
"64HVM" : "ami-79afa63c"
605605
},
606606
"ap-southeast-1" : {
607-
"centos" : "ami-44ecc816"
607+
"64HVM" : "ami-44ecc816"
608608
},
609609
"ap-southeast-2" : {
610-
"centos" : "ami-814526bb"
610+
"64HVM" : "ami-814526bb"
611611
}
612612
}
613613
},
@@ -1015,12 +1015,18 @@
10151015
},
10161016
{
10171017
"Fn::FindInMap" : [
1018-
"AWSRegionOS2AMI",
1018+
"AWSRegionArch2AMI",
10191019
{
10201020
"Ref" : "AWS::Region"
10211021
},
10221022
{
1023-
"Ref" : "BaseOS"
1023+
"Fn::FindInMap" : [
1024+
"AWSInstanceType2Capabilites",
1025+
{
1026+
"Ref" : "MasterInstanceType"
1027+
},
1028+
"Arch"
1029+
]
10241030
}
10251031
]
10261032
}
@@ -1376,12 +1382,18 @@
13761382
},
13771383
{
13781384
"Fn::FindInMap" : [
1379-
"AWSRegionOS2AMI",
1385+
"AWSRegionArch2AMI",
13801386
{
13811387
"Ref" : "AWS::Region"
13821388
},
13831389
{
1384-
"Ref" : "BaseOS"
1390+
"Fn::FindInMap" : [
1391+
"AWSInstanceType2Capabilites",
1392+
{
1393+
"Ref" : "ComputeInstanceType"
1394+
},
1395+
"Arch"
1396+
]
13851397
}
13861398
]
13871399
}

0 commit comments

Comments
 (0)