Loading CloudFormation YAML using Python
<p>I've got a set of <code>YAML</code>  AWS Cloud Formation Templates that I've recently converted from <code>JSON</code>. </p>

<p>When using <code>JSON</code> I was able to load these templates and transform them using <code>jinja</code> to generate some markdown documentation from them. I'm attempting to do the same with <code>YAML</code> in python.</p>

<p>I'm using the shorthand function syntax in the cloudformation templates which uses the <code>YAML</code> Tags. eg</p>

<pre><code>Properties:
  MinSize: !Ref ClusterSize
  MaxSize: !Ref ClusterSize
</code></pre>

<p>When attempting to load these with the <code>ruamel.yaml</code> package the Constructor fails because it is unable to handle the Tags, because it has no knowledge about them. </p>

<p>Is there a way I can work around this so that I'm able to load the <code>YAML</code> document so that I can retrieve/query the Outputs and Resources?</p>