Terraform AWS ECR Repository
![CircleCI](https://camo.githubusercontent.com/37243b049c40dcd9053fcaad6a6ecaddbd407f9e10bb3b29f48b8da51ac5bcd2/68747470733a2f2f636972636c6563692e636f6d2f67682f74726176656c6f6b612f7465727261666f726d2d6177732d6563722d7265706f7369746f72792f747265652f6d61737465722e7376673f7374796c653d737667)
Terraform module for creating ECR Repository
module "ecr" {
source = "traveloka/terraform-aws-ecr-repository"
version = "0.1.0"
}
No requirements.
Name |
Description |
Type |
Default |
Required |
default_resource_naming |
Use standard naming with random id |
string |
"true" |
no |
delete_timeout |
How long to wait for a repository to be deleted. Check Timeout for more detail. |
string |
"20m" |
no |
environment |
Environment where the service run |
string |
n/a |
yes |
image_tag_mutability |
The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE |
string |
"MUTABLE" |
no |
lifecyle_policy |
The lifecycle policy of this repository |
string |
"" |
no |
product_domain |
The product domain that this service belongs to |
string |
n/a |
yes |
repo_name |
Name of the repository |
string |
n/a |
yes |
repository_policy |
The access policy of this repository |
string |
"" |
no |
scan_on_push |
Indicates whether images are scanned after being pushed to the repository (true ) or not scanned (false ) |
string |
"false" |
no |
tags |
Custom tags for ECR Repo |
map |
{} |
no |
Name |
Description |
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 |