thousandeyes / terraform-provider-thousandeyes

ThousandEyes Terraform Provider
Apache License 2.0
21 stars 26 forks source link

fix: resources deleted outside Terraform not re-created #149

Closed joaomper-TE closed 12 months ago

joaomper-TE commented 12 months ago

Fixes #112.

Problem was that when attempting to read the resource, we were not handling the 404 properly. Now, we set the ID to null so that terraform understands that the resource no longer exists and tries to recreate it.

Tested locally and now, after the resource is deleted manually in the UI, a terraform plan attempts to re-create it.