techservicesillinois / terraform-aws-ecr

Provides an EC2 Container Registry repository
MIT License
1 stars 2 forks source link

ecr

Terraform actions status

Provides an Elastic Container Registry repository. In addition, it provides an optional default lifecycle policy.

Cross-account access may be enabled by setting the readers or writers arguments.

Example Usage

module "foo" {
  source = "git@github.com:techservicesillinois/terraform-aws-ecr"

  lambda_arns = ["arn:aws:lambda:us-east-1: 874445906176:function:*"]
  repos = [
    "repo_name_1",
    "repo_name_2",
  ]
  readers      = ["arn:aws:iam::874445906176:root"]
  scan_on_push = true
}

Argument Reference

The following arguments are supported:

Debugging

Attributes Reference

The following attribute is exported: