Data Source: aws_ecr_image

The ECR Image data source allows the details of an image with a particular tag or digest to be retrieved.

Example Usage

data "aws_ecr_image" "service_image" {
  repository_name = "my/service"
  image_tag       = "latest"
}

Argument Reference

This data source supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: