Skip to content

Commit

Permalink
Updates zookeeper version. Removes AMI map.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Hisamoto committed Mar 16, 2016
1 parent 9be742b commit 8c22247
Showing 1 changed file with 6 additions and 32 deletions.
38 changes: 6 additions & 32 deletions zookeeper.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"DockerImage" : {
"Description" : "Path of the ZK+Exhibitor Docker image (format: '[<registry>[:<port>]/]<repository>:<version>')",
"Type" : "String",
"Default" : "mbabineau/zookeeper-exhibitor:3.4.6_1.5.4"
"Default" : "mbabineau/zookeeper-exhibitor:3.4.6_1.5.5"
},
"ExhibitorS3Bucket" : {
"Description" : "Bucket for Exhibitor backups of ZK configs",
Expand Down Expand Up @@ -65,35 +65,6 @@
}
},

"Mappings" : {
"RegionMap" : {
"us-east-1" : {
"AMI" : "ami-96163afe"
},
"us-west-1" : {
"AMI" : "ami-117c9a55"
},
"us-west-2" : {
"AMI" : "ami-8d123ebd"
},
"eu-west-1" : {
"AMI" : "ami-8be47afc"
},
"ap-southeast-1" : {
"AMI" : "ami-64b88936"
},
"ap-southeast-2" : {
"AMI" : "ami-abf48491"
},
"ap-northeast-1" : {
"AMI" : "ami-3d62953d"
},
"sa-east-1" : {
"AMI" : "ami-db1fa7c6"
}
}
},

"Conditions" : {
"UseAllAvailabilityZones" : {"Fn::Equals" : [{ "Fn::Join" : ["", {"Ref" : "AvailabilityZones"} ]}, ""]}
},
Expand Down Expand Up @@ -146,7 +117,9 @@
"MinSize" : "1",
"MaxSize" : "9",
"DesiredCapacity" : { "Ref" : "ClusterSize" },

"LoadBalancerNames" : [ { "Ref" : "ElasticLoadBalancer" } ],

"VPCZoneIdentifier" : { "Ref" : "Subnets" },
"Tags" : [
{
Expand All @@ -167,8 +140,8 @@
"Type" : "AWS::AutoScaling::LaunchConfiguration",
"Properties" : {
"KeyName" : { "Ref" : "KeyName" },
"ImageId" : { "Fn::FindInMap" : [ "RegionMap", { "Ref" : "AWS::Region" }, "AMI"] },
"SecurityGroups" : [ { "Ref" : "ServerSecurityGroup" }, { "Ref" : "AdminSecurityGroup" } ],
"ImageId" : "ami-37430252",
"SecurityGroups" : [ { "Ref" : "ServerSecurityGroup" }, { "Ref" : "AdminSecurityGroup" } ],
"AssociatePublicIpAddress": "true",
"InstanceType" : { "Ref" : "InstanceType" },
"UserData" : { "Fn::Base64" : { "Fn::Join" : ["", [
Expand Down Expand Up @@ -266,6 +239,7 @@
}
},


"WaitHandle" : {
"Type" : "AWS::CloudFormation::WaitConditionHandle"
}
Expand Down

0 comments on commit 8c22247

Please sign in to comment.