Terraform module which creates AWS ECR resources.
module "ecr_repo" {
source = "git::[email protected]:arovira/tfm-aws-ecr-repository.git"
ecr_name = "example"
}Examples codified under the examples are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!
| Name | Version |
|---|---|
| aws | >= 4.20.0 |
| Name | Version |
|---|---|
| aws | >= 4.20.0 |
No modules.
| Name | Type |
|---|---|
| aws_ecr_lifecycle_policy.ecr_repo | resource |
| aws_ecr_repository.ecr_repo | resource |
| aws_ecr_repository_policy.ecr_repo | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| aws_ecr_encryption_type | Encryption type for ECR | string |
"KMS" |
no |
| aws_ecr_lifecycle_policy_rules | List of ECR Lifecycle rules to be created | list(any) |
[ |
no |
| aws_kms_encryption_key | Encryption kms key for ECR. Leave blank for ECR managed key. | string |
"" |
no |
| ecr_image_tag_mutability | The tag mutability setting for the repository. Must be one of: MUTABLE or IMMUTABLE. Defaults to MUTABLE. | string |
"MUTABLE" |
no |
| ecr_name | Name of the ECR repository to be created | string |
n/a | yes |
| enable_access_from_external_account | If True, enable access from other aws accounts | bool |
false |
no |
| external_account_access | Only used if enable_access_from_external_account is true. Accounts that should have access to this repo. | list(string) |
[] |
no |
| Name | Description |
|---|---|
| repository_url | n/a |