hashicorp/terraform-provider-aws

[Enhancement]: Support updateToLatestImageVersion in aws_batch_compute_environment.compute_resources

Open

#39,978 opened on Oct 31, 2024

 (15 comments) (10 reactions) (0 assignees)Go (10,312 forks)github user discovery
enhancementgood first issueservice/batch

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

Would you like to implement a fix?

None

Contributor guide