ecr

clouddrove/ecr/aws

Terraform Module HCL AWS

This terraform module is used to create ECR on AWS.

Install
module "ecr" {
source = "clouddrove/ecr/aws"
version = "1.3.2"
}
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS ECR This terraform module is used to create ECR on AWS. We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself. We hav

Inputs (23)
NameTypeDescriptionDefault
managedbystringManagedBy, eg 'CloudDrove' "anmol@clouddrove.com"
delimiterstringDelimiter to be used between `organization`, `environment`, `name` and `attribut"-"
max_image_countnumberHow many Docker Image versions AWS ECR will store.10
max_untagged_image_countnumberHow many Untagged Docker Image versions AWS ECR will store.1
principals_full_accesslist(any)Principal ARN to provide with full access to the ECR.[]
repository_force_deleteboolIf `true`, will delete the repository even if it contains images. Defaults to `ffalse
namestringName (e.g. `app` or `cluster`).""
label_orderlist(any)Label order, e.g. `name`,`application`.[ "name", "environment" ]
principals_readonly_accesslist(any)Principal ARN to provide with readonly access to the ECR.[]
scan_on_pushboolIndicates whether images are scanned after being pushed to the repository (true)true
repositorystringTerraform current module repo"https://github.com/clouddrove/terraform
image_tag_mutabilitystringThe tag mutability setting for the repository."IMMUTABLE"
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`)."test"
kms_keystringThe ARN of the KMS key to use when encryption_type is `KMS`. If not specified, unull
enable_public_ecrboolSet to false to prevent the module from creating any resources.false
public_repository_catalog_dataanyCatalog data configuration for the repository{}
attributeslist(any)Additional attributes (e.g. `1`).[ "environment", "name" ]
enableboolSet to false to prevent the module from creating any resources.true
enable_private_ecrboolSet to false to prevent the module from creating any resources.false
use_fullnamestringSet 'true' to use `namespace-stage-name` for ecr repository name, else `name`.""
Outputs (5)
repository_name — Registry name.
arn — Registry ARN.
tags — A mapping of tags to assign to the resource.
registry_id — Registry ID.
registry_url — Registry URL.
Resources (4)
aws_ecr_lifecycle_policyaws_ecr_repositoryaws_ecr_repository_policyaws_ecrpublic_repository
Details
FrameworkTerraform Module
LanguageHCL
Version1.3.2
Cloud AWS
★ Stars26
Forks14
Total downloads15.1k
Inputs23
Outputs5
Resources4
LicenseApache-2.0
Namespaceclouddrove
Updated