louy / terraform-provider-uptimerobot

A terraform provider for UptimeRobot
Mozilla Public License 2.0
123 stars 84 forks source link

Error: Got error from UptimeRobot: {"message":"Alert Contact(id: 2968354) not found.","type":"not_found"} #105

Open innovate-invent opened 3 years ago

innovate-invent commented 3 years ago

If a contact is created with terraform and deleted using the UTR web portal, terraform will fail on the next apply. The provider should ignore this error so that the resource is recreated.

matiasbertani commented 1 year ago

same problem

matiasbertani commented 1 year ago

Solved by removing the resources, that were raising the error, from the state manually with terraform state rm <resource> In any case, it would be nice to handle this with the provider