nicc777 / py-animus

A python based plugable and extensible manifest processing system
GNU General Public License v3.0
0 stars 0 forks source link

Support parsing YAML with custom Tags (like AWS CloudFormation) #78

Closed nicc777 closed 1 year ago

nicc777 commented 1 year ago

Brief Description of the Enhancement

Currently, YAML with custom tags fails to parse to JSON objects.

Describe the benefit of this proposed enhancement

Able to properly serialize and de-serialize YAML containing custom tags to JSON/Strings/Dicts

Code examples, pseudo code or any other technical description of the proposal

Example from AWS Documentation:

---
AWSTemplateFormatVersion: "2010-09-09"

Parameters:

  RootDomainName:
    Type: String
    Default: example.tld

Resources:

  DNS: 
    Type: "AWS::Route53::HostedZone"
    Properties: 
      HostedZoneConfig: 
        Comment: 'My hosted zone'
      Name: !Ref RootDomainName