Kaginari / terraform-provider-mongodb

Terraform provider for mongodb instance (selfhosted, AWS documentDB and cloud instances )
MIT License
26 stars 33 forks source link

Manually deleting a user / cluster & recreating with the provider results in `Error: user does not exist` #33

Open sherifkayad opened 1 year ago

sherifkayad commented 1 year ago

First of all, thanks for this awesome provider!

Unfortunately there's a slight edge case that the provider can't handle well and that's the manual deletion of users from the database(s) or e.g. dropping the whole cluster and re-creating it. In that case the provider complains with Error: user does not exist.

Would be really great if the provider can handle this edge case.

Thanks in advance.