diff --git a/jinsi/__pkginfo__.py b/jinsi/__pkginfo__.py index da4cf1d..6f7ef88 100644 --- a/jinsi/__pkginfo__.py +++ b/jinsi/__pkginfo__.py @@ -1 +1 @@ -version = "0.17.3" +version = "0.17.4" diff --git a/jinsi/yamlutil.py b/jinsi/yamlutil.py index 87cbc83..7d56c8a 100644 --- a/jinsi/yamlutil.py +++ b/jinsi/yamlutil.py @@ -65,7 +65,7 @@ def seq_node(value) -> yaml.SequenceNode: def aws_cloudformation_intrinsic_function(loader, node): fn = f"Fn::{node.tag[1:]}" if node.tag in ('!Ref', '!Condition'): - fn = 'Ref' + fn = node.tag[1:] elif node.tag == '!GetAtt' and isinstance(node.value, str): path = node.value.split(".", maxsplit=1) node = yaml.SequenceNode(