Add ability to query ECR repository for most recently pushed image #12798
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ecr
Issues and PRs that pertain to the ecr service.
Milestone
Community Note
Description
Use case: in my setup I often wish to deploy the most recently pushed ECR image to a test environment. But I found it isn't possible to query for this image directly using
aws_ecr_image
.You can do fairly easy with the AWS cli:
I would propose adding query functionality to
aws_ecr_image
, similar toaws_ami
New or Affected Resource(s)
Potential Terraform Configuration
Desired configuration:
References
The text was updated successfully, but these errors were encountered: