rain merger remove the double quote from the string YAML parse-then-serialize When it parses Mode: "OFF", the YAML parser reads it as the string OFF (quotes are just YAML syntax, not part of the value). When rain serializes it back out, it emits Mode: OFF — which is valid YAML 1.2 but cfn-lint uses YAML 1.1 where bare OFF is boolean false.
false is not a valid enum value. Supported values: [OFF, FLEXIBLE]
rain merger remove the double quote from the string YAML parse-then-serialize When it parses Mode: "OFF", the YAML parser reads it as the string OFF (quotes are just YAML syntax, not part of the value). When rain serializes it back out, it emits Mode: OFF — which is valid YAML 1.2 but cfn-lint uses YAML 1.1 where bare OFF is boolean false.
false is not a valid enum value. Supported values: [OFF, FLEXIBLE]