Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(yaml-cfn): do not deserialize year-month-date as strings #13745

Merged
merged 2 commits into from
Mar 30, 2021

Commits on Mar 26, 2021

  1. fix(yaml-cfn): do not deserialize year-month-date as strings

    Currently, we are using the `yaml-1.1` schema when de-serializing YAML documents,
    Unfortunately, this has the side effect of treating unquoted parts of the template like '2010-09-09'
    as Date objects, instead of just simple strings.
    This has been noted by a customer using the cloudformation-include module,
    but I assume a very similar problem exists for other places we parse YAML,
    like cloudformation-diff.
    
    Switch to the `core` schema from `yaml-1.1`,
    where those are treated as strings, instead of dates.
    
    Fixes aws#13709
    skinny85 committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    40f8067 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Configuration menu
    Copy the full SHA
    accbded View commit details
    Browse the repository at this point in the history