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
imageScanOnPushboolRepository option to scan on image push

Examples

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

aws.ecr {
publicRepositories {
name
uri
}
}