[Bug]: aws_batch_compute_environment in place updates do not work with SPOT_PRICE_CAPACITY_OPTIMIZED allocation_strategy #38695
Labels
bug
Addresses a defect in current functionality.
service/batch
Issues and PRs that pertain to the batch service.
Terraform Core Version
1.6.6
AWS Provider Version
5.61.0
Affected Resource(s)
aws_batch_compute_environment
Expected Behavior
When aws_batch_compute_environment properties such as image_id or instances_types is changed an in-place update of the compute environment should occur. This is not working when allocation_strategy is SPOT_PRICE_CAPACITY_OPTIMIZED. It does work for SPOT_CAPACITY_OPTIMIZED.
Actual Behavior
The plan indicates that the aws_batch_compute_environment must be replaced, which will destroy the compute environment instead.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: