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

colossal-room-15708

05/19/2019, 5:41 AM
Error messages like this that reference Terraform are still strange to see. Also, I created the app service plan via pulumi, made a change that should've caused a replace. Why didn't it destroy the resource and replace with a new one, but instead throw this strange error?
s

stocky-spoon-28903

05/19/2019, 7:47 AM
Hi @colossal-room-15708! I agree, the error messages are jarring - but since we use the Terraform provider under the hood, there isn’t too much we can do about it short of a wholesale grep/replace for “terraform” in error messages (which still may give incorrect error messages, and looks disingenuous to boot).
Some providers are better than others about giving you the facts of an error instead of attempting to be conversational, though.
This particular problem I think is due to the requirement for unique names - you may need to turn on the “delete before create” behaviour in this case, if you’ve set the name explicitly and opted out of the autonamer which circumvents this
c

colossal-room-15708

05/19/2019, 8:08 AM
Oh yeah, that makes sense. I'll specify that option.
Also, I hope we're soon going to have an Azure provider without terraform dependency.
s

stocky-spoon-28903

05/19/2019, 10:58 AM
We have been looking into that - it’s probably a way off, but can’t give a date at this point