[Bug]: aws_ecr_image with most_recent fails if there is no "latest" image in the ECR on 5.32.0 #35263
Labels
bug
Addresses a defect in current functionality.
prioritized
Part of the maintainer teams immediate focus. To be addressed within the current quarter.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/ecr
Issues and PRs that pertain to the ecr service.
Milestone
Terraform Core Version
1.3.5
AWS Provider Version
5.32.0
Affected Resource(s)
aws_ecr_image
Expected Behavior
The aws_ecr_image should find an image
Actual Behavior
It errors out
Relevant Error/Panic Output Snippet
Terraform Configuration Files
I am doing something like:
Steps to Reproduce
Create an ECR that does NOT have an image with the "latest" tag, then do:
This works on 5.31, not 5.32
Debug Output
No response
Panic Output
No response
Important Factoids
n/a
References
Almost certainly caused by #24526 which went into 5.32
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: