https://pulumi.com logo
q

quaint-queen-45003

06/24/2019, 3:26 PM
hello - any thoughts on the question above ^?
b

broad-dog-22463

06/24/2019, 3:31 PM
Hey @quaint-queen-45003, what seems to be up?
Oh i've jsut read...
the id's are broken somewhere
q

quaint-queen-45003

06/24/2019, 3:32 PM
hey paul - thanks for the help!
ya - seems like something wonky is going on with the IDs
b

broad-dog-22463

06/24/2019, 3:33 PM
ok, can you do me a favour and please open an issue and tag me in it
something is definitely wonky here...
q

quaint-queen-45003

06/24/2019, 3:33 PM
sure will do
b

broad-dog-22463

06/24/2019, 3:34 PM
thank you!
also, great find here
sorry about this
q

quaint-queen-45003

06/24/2019, 3:37 PM
no worries and thank you for the help!
let me know if you need anything else from me 🙂
b

broad-dog-22463

06/24/2019, 3:38 PM
thank you!!
q

quaint-queen-45003

06/25/2019, 8:34 PM
@broad-dog-22463 would you happen to have an ETA on this by chance? we're about to create a bunch of clusters and this would prevent us from having to go and edit a bunch of clusters
b

broad-dog-22463

06/25/2019, 9:38 PM
@quaint-queen-45003 we are trying to work out why our generator believes that it should be an int and not a string in the same way it was created
q

quaint-queen-45003

06/25/2019, 9:38 PM
alrighty, thanks for the update!
Hey @broad-dog-22463, do you know of a workaround that we can put in place for now?
b

broad-dog-22463

06/27/2019, 4:08 PM
@quaint-queen-45003 you can run this:
Copy code
const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
    channelId: fooAlertChannel.id.apply(id => parseInt(id)),
    policyId: fooAlertPolicy.id.apply(id => parseInt(id)),
});
I just tested this and it works
q

quaint-queen-45003

06/27/2019, 4:10 PM
perfect, i'll give it a go. thanks a bunch!
b

broad-dog-22463

06/27/2019, 4:11 PM
no worries, apologies for the problems here
@quaint-queen-45003 did it work for you?
q

quaint-queen-45003

06/27/2019, 7:01 PM
haven't gotten to try quite yet. i'll have time in the afternoon to try it out
i'll let you know
just gave it a shot and it looks like it works. thanks again!
b

broad-dog-22463

06/27/2019, 7:24 PM
👍 perfect
thanks