quaint-queen-45003
06/20/2019, 4:05 PMfooAlertChannel.id
and fooAlertPolicy.id
. here's the sample code provided
const fooAlertChannel = new newrelic.AlertChannel("foo", {
configuration: {
include_json_attachment: "1",
recipients: "<mailto:foo@example.com|foo@example.com>",
},
type: "email",
});
const fooAlertPolicy = new newrelic.AlertPolicy("foo", {});
const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
channelId: fooAlertChannel.id,
policyId: fooAlertPolicy.id,
});
Type 'Output<string>' is not assignable to type 'Input<number>'.
Type 'Output<string>' is not assignable to type 'OutputInstance<number>'.
fooAlertChannel.id
and fooAlertPolicy.id
?