You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to feature request some adjustment to the Environment resource destroy UX.
I understand that when destroying Terraform-provisioned Environments, the happy path would be to:
set force_destroy
make sure the Environment is converged and no plans Waiting for Approval, and no errors on the Environment, like missing Terraform config
remove the Environment resource from the config, or Destroy the config
then my understanding is that it will run a destroy in the Environment and that functionality will archive after completion
The part that kinda breaks from Terraform norms is that this last phase is out of Terraform's control or awareness.
I understand the concern that you may not want to or be able to (depending on config/credentials/etc) wait for an operation to
complete on the referenced Environment while you're processing the containing Environment, but maybe this can/should be a flag to choose this behavior?
To me, ideally, if the target Environment's destroy can't proceed, I'd like containing Terraform config to fail to destroy.
Again, the hole I fall into is that the containing config has stopped tracking the Environment IDs, but I have Environments that need cleaned up manually.
Idk if this is somehow less valid since Env0 isn't really a Terraform specific/only tool, but from a perspective of using Terraform to configure Env0 to manage Terraform, it feels like a big gap.
The text was updated successfully, but these errors were encountered:
I'd like to feature request some adjustment to the Environment resource destroy UX.
I understand that when destroying Terraform-provisioned Environments, the happy path would be to:
The part that kinda breaks from Terraform norms is that this last phase is out of Terraform's control or awareness.
I understand the concern that you may not want to or be able to (depending on config/credentials/etc) wait for an operation to
complete on the referenced Environment while you're processing the containing Environment, but maybe this can/should be a flag to choose this behavior?
To me, ideally, if the target Environment's destroy can't proceed, I'd like containing Terraform config to fail to destroy.
Again, the hole I fall into is that the containing config has stopped tracking the Environment IDs, but I have Environments that need cleaned up manually.
Idk if this is somehow less valid since Env0 isn't really a Terraform specific/only tool, but from a perspective of using Terraform to configure Env0 to manage Terraform, it feels like a big gap.
The text was updated successfully, but these errors were encountered: