Closed flowinh2o closed 1 year ago
https://stackoverflow.com/questions/61669156/terraform-how-to-enable-deletion-of-batch-service-compute-environment could you add lifecycle option/variable as a workaround?
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
When trying to update a compute environment that has an associated queue I am getting the following error:
Error: error deleting Batch Compute Environment (ec2_spot-20221103182652341500000006): : Cannot delete, found existing JobQueue relationship
As a workaround I am having to to a destroy and then re-apply.
Versions
Reproduction Code [Required]
I am running this in terragrunt but the inputs to terraform are similar to this