File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
tests/functional/cloudformation/deploy_templates/long-double-quoted-scalar Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ AWSTemplateFormatVersion : ' 2010-09-09'
2+ Resources :
3+ Config :
4+ Type : AWS::SSM::Parameter
5+ Properties :
6+ Type : String
7+ Value :
8+ Fn::Sub :
9+ - |
10+ template: |
11+ {{ define "test.message" }}
12+ {{- $a := index .Alerts 0 -}}
13+ {{- $queryExpr := reReplaceAll "\\]" "%5D" (reReplaceAll "\\[" "%5B" (reReplaceAll "=" "%3D" (reReplaceAll "\\}" "%7D" (reReplaceAll "\\{" "%7B" $a.Expr)))) }}
14+ {{ end }}
15+ - {}
Original file line number Diff line number Diff line change 1+ AWSTemplateFormatVersion : ' 2010-09-09'
2+ Resources :
3+ Config :
4+ Type : AWS::SSM::Parameter
5+ Properties :
6+ Type : String
7+ Value :
8+ Fn::Sub :
9+ - "template : |\n {{ define \"test.message\" }}\n {{- $a := index .Alerts\
10+ \ 0 -}}\n {{- $queryExpr := reReplaceAll \"\\\\]\" \"%5D\" (reReplaceAll\
11+ \ \"\\\\[\" \"%5B\" (reReplaceAll \"=\" \"%3D\" (reReplaceAll \"\\\\}\"\
12+ \ \"%7D\" (reReplaceAll \"\\\\{\" \"%7B\" $a.Expr)))) }}\n {{ end }}\n"
13+ - {}
You can’t perform that action at this time.
0 commit comments