ecr-repository

azavea/ecr-repository/aws

Terraform Module HCL AWS

A Terraform module to create an Amazon Web Services (AWS) Elastic Container Registry (ECR) repository.

Install
module "ecr-repository" {
source = "azavea/ecr-repository/aws"
version = "0.1.0"
}
plain text: /constructs/tfmod-azavea-ecr-repository-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-ecr-repository A Terraform module to create an Amazon Web Services (AWS) Elastic Container Registry (ECR) repository. Usage ``hcl module "ecr-repository" { source = "github.com/azavea/terraform-aws-ecr-repository?ref=0.1.0" repository_name = "my-containers" attach_lifecycle_policy = true } ` Variables - repository_name - name of the repository - attach_lifecycle_policy - attach an ECR lifecycle policy (default: false) - lifecycle_policy - ECR lifecycle policy (default: the contents of default-lifecycle-policy.json.tpl, untagged images older than 7 days will be deleted) Outputs - arn - full ARN of the repository - name - the name of the repository - registry_id - the registry ID where the repository was created - repository_url` - the URL of the repository (in the form aws_acc

Inputs (3)
NameTypeDescriptionDefault
repository_namestring required
attach_lifecycle_policystringfalse
lifecycle_policystring""
Outputs (4)
repository_url
arn
name
registry_id
Resources (2)
aws_ecr_lifecycle_policyaws_ecr_repository
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud AWS
★ Stars5
Forks12
Total downloads6.7k
Inputs3
Outputs4
Resources2
LicenseApache-2.0
Namespaceazavea
Updated