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
In the past, we have included the resource tfe_workspace_run in our Terraform configuration to ensure that the corresponding workspace is only deleted when the resources managed in it have already been destroyed. This also worked. However, as we no longer need this tfe_workspace_run resource, we have removed it from our Terraform configuration and executed a Terraform plan. The plan indicated that only this resource would be destroyed, which is exactly what we would have expected. For this reason, we triggered Terraform Apply.
Actual Behavior
However, terraform apply resulted in all resources managed by the corresponding workspace being destroyed and then the tfe_workspace_run resource. Is the behavior a bug or was it to be expected that all resources managed by the workspace were destroyed?
Additional Context
The text was updated successfully, but these errors were encountered:
Terraform Enterprise version
v202410-1
Terraform version
Terraform Configuration Files
Debug Output
Expected Behavior
In the past, we have included the resource tfe_workspace_run in our Terraform configuration to ensure that the corresponding workspace is only deleted when the resources managed in it have already been destroyed. This also worked. However, as we no longer need this tfe_workspace_run resource, we have removed it from our Terraform configuration and executed a Terraform plan. The plan indicated that only this resource would be destroyed, which is exactly what we would have expected. For this reason, we triggered Terraform Apply.
Actual Behavior
However, terraform apply resulted in all resources managed by the corresponding workspace being destroyed and then the tfe_workspace_run resource. Is the behavior a bug or was it to be expected that all resources managed by the workspace were destroyed?
Additional Context
The text was updated successfully, but these errors were encountered: