From cdfca8fc174c0f8814d8b9aee3bbb1f226bb1ee0 Mon Sep 17 00:00:00 2001 From: Sean Myers Date: Sun, 17 Aug 2014 19:01:58 -0400 Subject: [PATCH] c_ref func, like a ref in every way except it refs a condition The amazon docs seem to apologize for this. --- cfn_pyplates/functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cfn_pyplates/functions.py b/cfn_pyplates/functions.py index f39fc35..91ab5f1 100644 --- a/cfn_pyplates/functions.py +++ b/cfn_pyplates/functions.py @@ -268,6 +268,7 @@ def c_ref(condition_name): * A reference to the named condition """ + return {'Condition': condition_name} def _validate_logical_condition_counts(fn, conditions):