You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When parsing YAML files containing string scalar longer than 8 chars and start with 0, the function dump_yaml strips single (and double) quotes, which converts string scalar to number scalar. When CFN templates refers these string values in Ref or Sub functions, it causes template error.
Description
When parsing YAML files containing string scalar longer than 8 chars and start with
0
, the functiondump_yaml
strips single (and double) quotes, which converts string scalar to number scalar. When CFN templates refers these string values inRef
orSub
functions, it causes template error.Use-case
'012345678'
Reproduction script:
Expected output:
Actual output:
Use-case
'01234567'
Output:
The text was updated successfully, but these errors were encountered: