https://pulumi.com logo
#general
Title
# general
h

happy-cat-93167

03/22/2022, 9:40 PM
Hi I'm trying to create a monitor in Datadog using Pulumi using the MonitorJSON(https://www.pulumi.com/registry/packages/datadog/api-docs/monitorjson/) I am trying to create monitor that is muted at creation. I added this: but I got an error message saying NameError: name 'null' is not defined error: an unhandled error occurred: Program exited with non-zero exit code: 1 . anyone knows how to fix this?
Copy code
"silenced": { "*": null }
l

little-cartoon-10569

03/22/2022, 9:54 PM
Are you creating a JSON object, or a string representation of a JSON object? I note that the example uses the string representation, would that matter?
h

happy-cat-93167

03/22/2022, 10:54 PM
String representation of JSON Object I think..