ecr

appzen-oss/ecr/aws

Terraform Module HCL AWS

Terraform module to manage AWS ECR repositories

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

terraform-aws-ecr ![CircleCI](https://circleci.com/gh/appzen-oss/terraform-aws-ecr) ![Github release](https://github.com/appzen-oss/terraform-aws-ecr/releases) Terraform module to Terraform registry Usage Basic Example ``hcl module "" { source = "appzen-oss/ecr/aws" version = "0.0.1" } ` Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | accounts\_ro | AWS accounts to provide with readonly access to the ECR | list | | no | | accounts\_rw | AWS accounts to provide with full access to the ECR | list | | no | | attributes | Suffix name with additional attributes (policy, role, etc.) | list | | no | | component | TAG: Underlying, dedicated piece of service (Cache, DB, ...) | string | "UNDEF-ECR" | no | | delimiter | Delimiter to be used be

Inputs (23)
NameTypeDescriptionDefault
environmentstringEnvironment (ex: `dev`, `qa`, `stage`, `prod`). (Second or top level namespace. required
namestringBase name for resource required
namespace-orgstringPrefix name with the organization. If true, format is: `{org}-{env namespaced nafalse
tagsmapA map of additional tags{}
accounts_rolistAWS accounts to provide with readonly access to the ECR[]
enabledstringSet to false to prevent the module from creating any resourcestrue
max_image_agestringMax container image age"0"
use_fullnamestring"true"
componentstringTAG: Underlying, dedicated piece of service (Cache, DB, ...)"UNDEF-ECR"
ownerstringTAG: Owner of the service"UNDEF-ECR"
servicestringTAG: Application (microservice) name"UNDEF-ECR"
max_image_age_tag_prefixlistTag prefix list for max image age rule[]
max_image_countstringMax container images to keep"500"
attributeslistSuffix name with additional attributes (policy, role, etc.)[]
organizationstringOrganization name (Top level namespace)""
teamstringTAG: Department/team of people responsible for service"UNDEF-ECR"
accounts_rwlistAWS accounts to provide with full access to the ECR[]
image_tag_mutabilitystringThe tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTA"MUTABLE"
delimiterstringDelimiter to be used between `name`, `namespaces`, `attributes`, etc."-"
monitorstringTAG: Should resource be monitored"UNDEF-ECR"
namespace-envstringPrefix name with the environment. If true, format is: `{env}-{name}`true
productstringTAG: Company/business product"UNDEF-ECR"
Outputs (4)
repository_arn — Full ARN of repository
registry_id — The registry ID where the repository was created
repository_name — Repository name
repository_url — Repository URL
Resources (3)
aws_ecr_lifecycle_policyaws_ecr_repositoryaws_ecr_repository_policy
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.2
Cloud AWS
★ Stars2
Forks1
Total downloads7.1k
Inputs23
Outputs4
Resources3
Examples6
Namespaceappzen-oss
Updated