From e403895de3f86bb5ce9da7cc18af4ab620bc0273 Mon Sep 17 00:00:00 2001 From: Dougal Ballantyne Date: Thu, 19 Jun 2014 14:56:28 -0700 Subject: [PATCH] Fix: Issue with placement condition in template. --- cloudformation/cfncluster.cfn.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cloudformation/cfncluster.cfn.json b/cloudformation/cfncluster.cfn.json index 0c6a86096a..74d59e8c89 100644 --- a/cloudformation/cfncluster.cfn.json +++ b/cloudformation/cfncluster.cfn.json @@ -438,11 +438,9 @@ ] }, "UseClusterPlacement" : { - "Fn::Equals" : [ - { - "Ref" : "Placement" - }, - "cluster" + "Fn::And": [ + { "Fn::Equals" : [ { "Ref" : "Placement" }, "cluster" ] }, + { "Condition" : "UsePlacementGroup" } ] }, "UseEBSEncryption" : {