boundary-layer icon indicating copy to clipboard operation
boundary-layer copied to clipboard

`EnsureRenderedStringPattern` preprocessor should warn without rejecting strings containing verbatim directives

Open mchalek opened this issue 7 years ago • 1 comments

Right now, if you have a parameter that uses the EnsureRenderedStringPattern pre-processor, and if you pass a verbatim string to this parameter, there is a chance that the parameter value will be rejected as invalid because the characters < and > are not supported by the provided regular expression. An example is the dataproc cluster_name parameter. We should recognize this condition and generate a warning, like we do when we encounter a jinja template that we do not know how to render.

mchalek avatar Nov 15 '18 22:11 mchalek

Thanks for creating tracking this down!

hyungoos avatar Nov 15 '18 22:11 hyungoos