Skip to main content

aws.ecr.repository

Supported platform

  • aws

Description

AWS Elastic Container Registry repository

Use the aws.ecr.repository resource to assess the Amazon Elastic Container Registry repositories.

Fields

IDTYPEDESCRIPTION
arnstringARN of the repository
namestringName of the repository
uristringURI of the repository, used for push/pull operations
registryIdstringAWS Account ID associated with public registry for this repository
publicboolWhether the repository is public
images[]aws.ecr.imageList of images in the repository
regionstringRegion where the image is stored
imageScanOnPushboolWhether the repository option to scan on image push is enabled

Examples

Return a list of aws.ecr.repository resources representing the public repositories.

aws.ecr {
publicRepositories {
name
uri
}
}