[Enhancement]: Support updateToLatestImageVersion in aws_batch_compute_environment.compute_resources
#39,978 opened on Oct 31, 2024
Repository metrics
- Stars
- (11,045 stars)
- PR merge metrics
- (Avg merge 19d 21h) (251 merged PRs in 30d)
Description
Description
Since April 2022 AWS Batch supports updateToLatestImageVersion argument in aws_batch_compute_environment https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResourceUpdate.html#Batch-Type-ComputeResourceUpdate-updateToLatestImageVersion
This issues has been reported as resolved before (https://github.com/hashicorp/terraform-provider-aws/issues/25285), which is incorrect I think. The aws provider does not support update_to_latest_image_version yet.
Affected Resource(s) and/or Data Source(s)
aws_batch_compute_environment (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/batch_compute_environment#compute_resources)
Potential Terraform Configuration
update_to_latest_image_version = true/false
References
- https://aws.amazon.com/blogs/hpc/aws-batch-updates-higher-compute-utilization-aws-privatelink-support-and-updatable-compute-environments/
- https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
Would you like to implement a fix?
None