Closed the-nando closed 1 month ago
Hi @the-nando and thanks for raising this issue. I'll raise this internally to start some discussion as I believe this workflow was considered the correct approach, but we may not have considered the TF implications.
We've done a bit more investigation into this and feel pretty strongly that this is going to be best fixed in the Terraform provider itself. It's on our near-term roadmap to get fixed.
Nomad version
Issue
Before https://github.com/hashicorp/nomad/pull/23499 (tested on 1.7.6+ent) it was possible to delete a namespace with an associated quota and then proceed with the deletion of the quota itself. This is now not possible anymore and breaks setups which use Terraform to provision namespaces and quotas as the teardown now requires manual intervention.
Reproduction steps
Prep:
Before:
Now:
The only way now to proceed with the deletion is to first unset the quota: