All Modules
AWSContainers

ECR

Elastic Container Registry with lifecycle policies and vulnerability scanning

Usage

module "ecr" {
  source = "github.com/fencepencil/fencepencil-aws-modules//ecr"

  repository_names = ["<value>"]

  tags = var.tags
}

Inputs (6)

NameTypeDescriptionDefaultRequired
repository_nameslist(string)List of ECR repository namesyes
image_tag_mutabilitystringTag mutability (MUTABLE or IMMUTABLE)IMMUTABLEno
scan_on_pushboolEnable vulnerability scanning on pushtrueno
enable_lifecycle_policyboolEnable lifecycle policy to limit imagestrueno
max_image_countnumberMaximum images to retain per repo30no
tagsmap(string)Tags to apply to all resources{}no

Outputs (2)

NameDescription
repository_urlsMap of repository names to URLs
repository_arnsMap of repository names to ARNs

More AWS Modules

Browse our full library of AWS infrastructure modules.

View all AWS modules