Imported monitors replace %
in their message with %!x(MISSING)
#133
Labels
kind/bug
Some behavior is incorrect or out of spec
%
in their message with %!x(MISSING)
#133
Expected behavior
Generated code for an imported monitor should include exactly the same message as the existing resource.
Current behavior
A monitor with
%
anywhere in its message will produce generated code containing%!x(MISSING)
in place of%
.Steps to reproduce
Tested on pulumi-datadog 3.1.0.
%
anywhere. For example: "5% of requests failed".pulumi import datadog:index/monitor:Monitor test 12345
Context (Environment)
This breaks messages with percent-encoded URLs to runbooks, for example. It also makes commonplace percentiles (99%) unreadable. It's relatively straightforward to fix, but it's a big annoyance when trying to import a large number of existing monitors. Being able to copy-paste the generated code would be ideal!
Affected feature
Unsure.
The text was updated successfully, but these errors were encountered: