Closed bauerben closed 4 years ago
@bauerben thank you for the report. We'll look to improve the retry experience going forward by your workaround for now with depends_on seems solid. @marinsalinas and @PacoDw, thoughts on depends_on as a documented workaround until we have time to schedule in retry work?
When creating several custom db roles at the same time with mongodbatlas_custom_db_role, seems like the provider is not waiting long enough or retrying to get the return confirmation of resource creation.
Terraform source:
Terraform apply results in code 404 :
Applying a second time works.
In case of creating a lot of resources at the same time, retry should be implemented in every resource types as it has been done with replicasets or whitelists creation ?
Mentioning
depends_on
seems to be a possible workaround in the meanwhile :