r/aws_batch_compute_environment: Enforce no compute_resources
block for UNMANAGED
compute environments
#19087
Labels
breaking-change
Introduces a breaking change in current functionality; usually deferred to the next major release.
service/batch
Issues and PRs that pertain to the batch service.
Milestone
Community Note
Description
Relates: #16819.
Currently the
aws_batch_compute_environment
resource allows acompute_resources
block to be specified whentype = "UMANAGED"
even though the AWS API does not allow this.There is code in the resource implementation to ignore this attribute during
Create
andRead
forUNMANAGED
compute environments.The correct validation should be done during
terraform plan
(viaCustomizeDiff
).This is a breaking change as currently "valid" configurations will now become invalid.
New or Affected Resource(s)
aws_batch_compute_environment
The text was updated successfully, but these errors were encountered: