attributes |
Additional attributes (e.g. 1 ). |
list(any) |
[] |
no |
delimiter |
Delimiter to be used between organization , environment , name and attributes . |
string |
"-" |
no |
enable |
Set to false to prevent the module from creating any resources. |
bool |
true |
no |
enable_private_ecr |
Set to false to prevent the module from creating any resources. |
bool |
false |
no |
enable_public_ecr |
Set to false to prevent the module from creating any resources. |
bool |
false |
no |
encryption_type |
The encryption type for the repository. Must be one of: KMS or AES256 . Defaults to AES256 |
string |
"KMS" |
no |
environment |
Environment (e.g. prod , dev , staging ). |
string |
"test" |
no |
image_tag_mutability |
The tag mutability setting for the repository. |
string |
"IMMUTABLE" |
no |
kms_key |
The ARN of the KMS key to use when encryption_type is KMS . If not specified, uses the default AWS managed key for ECR |
string |
null |
no |
label_order |
Label order, e.g. name ,application . |
list(any) |
[ "name", "environment" ] |
no |
managedby |
ManagedBy, eg 'CloudDrove' |
string |
"[email protected]" |
no |
max_image_count |
How many Docker Image versions AWS ECR will store. |
number |
10 |
no |
max_untagged_image_count |
How many Untagged Docker Image versions AWS ECR will store. |
number |
1 |
no |
name |
Name (e.g. app or cluster ). |
string |
"" |
no |
principals_full_access |
Principal ARN to provide with full access to the ECR. |
list(any) |
[] |
no |
principals_readonly_access |
Principal ARN to provide with readonly access to the ECR. |
list(any) |
[] |
no |
public_repository_catalog_data |
Catalog data configuration for the repository |
any |
{} |
no |
repository |
Terraform current module repo |
string |
"https://github.com/clouddrove/terraform-aws-ecr" |
no |
repository_force_delete |
If true , will delete the repository even if it contains images. Defaults to false |
bool |
false |
no |
scan_on_push |
Indicates whether images are scanned after being pushed to the repository (true) or not scanned (false). |
bool |
true |
no |
tags |
Additional tags (e.g. map(BusinessUnit ,XYZ ). |
map(any) |
{} |
no |
timeouts |
Timeouts map. |
map(any) |
{} |
no |
use_fullname |
Set 'true' to use namespace-stage-name for ecr repository name, else name . |
string |
"" |
no |