terraform will see the configuration drift and create the resource
Error
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Failed to Read resource
│
│ with yandex_mdb_mongodb_user.foo,
│ on main.tf line 15, in resource "yandex_mdb_mongodb_user" "foo":
│ 15: resource "yandex_mdb_mongodb_user" "foo" {
│
│ Error while requesting API to get MongoDB user:server-request-id = 3ec6cebf-26dd-42bc-aeda-2cd3f76fb0a8 server-trace-id = a91d69e5d437fbbd:5430998c90c7eb3e:a91d69e5d437fbbd:1
│ client-request-id = 610f4f0f-8a24-4194-adf2-58a2393ecd19 client-trace-id = c59e67a6-1c10-4083-9acf-7b9ef90e10a5 rpc error: code = NotFound desc = user "alice" not found
Error when synchronizing a resource that was previously deleted manually
Steps to reproduce:
terraform plan
orterraform apply
Expected behavior:
terraform will see the configuration drift and create the resource
Error