mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(cloudformation): preserve unquoted YAML dates as text (#8120)
This commit is contained in:
1 parent
c0a087a597
commit
f3b61cc368
3 files changed
+80
No files matched your search
@@ -67,6 +67,8 @@ public class CloudFormationYamlParser {
|
||||
register("!Length", n -> fnMap("Fn::Length", n));
|
||||
register("!ToJsonString", n -> fnMap("Fn::ToJsonString", n));
|
||||
register("!Transform", n -> fnMap("Fn::Transform", n));
|
||||
// CloudFormation has no date type: an unquoted 2010-09-09 or 2012-10-17 is the text.
|
||||
yamlConstructors.put(Tag.TIMESTAMP, yamlConstructors.get(Tag.STR));
|
||||
}
|
||||
|
||||
private void register(String tag, NodeConverter converter) {
|
||||
|
||||
Reference in new issue
Block a user