From 8c222474a18c3a0939a3c4b6e3dff988b4dd52d8 Mon Sep 17 00:00:00 2001 From: Fabio Hisamoto Date: Wed, 16 Mar 2016 17:50:47 -0300 Subject: [PATCH] Updates zookeeper version. Removes AMI map. --- zookeeper.json | 38 ++++++-------------------------------- 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/zookeeper.json b/zookeeper.json index 14773cd..fc54182 100644 --- a/zookeeper.json +++ b/zookeeper.json @@ -32,7 +32,7 @@ "DockerImage" : { "Description" : "Path of the ZK+Exhibitor Docker image (format: '[[:]/]:')", "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", @@ -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"} ]}, ""]} }, @@ -146,7 +117,9 @@ "MinSize" : "1", "MaxSize" : "9", "DesiredCapacity" : { "Ref" : "ClusterSize" }, + "LoadBalancerNames" : [ { "Ref" : "ElasticLoadBalancer" } ], + "VPCZoneIdentifier" : { "Ref" : "Subnets" }, "Tags" : [ { @@ -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" : ["", [ @@ -266,6 +239,7 @@ } }, + "WaitHandle" : { "Type" : "AWS::CloudFormation::WaitConditionHandle" }