ecr
cloudposse/ecr/aws
Terraform Module to manage Docker Container Registries on AWS ECR
Terraform module to provision an AWS ECR Docker Container registry. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to manage infrastructure from our Quick Start tutorial. > Usage The module creates one or more Elastic Container Registry (ECR) repositories. All repositories created will share the same configuration. Use this module multiple times to create repositories with different configurations. If you provide 1 or more names in image_names then one repository will be created for each of the names you provide. Those names can include "namespaces", which are just prefixes ending w
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | null |
| time_based_rotation | bool | Set to true to filter image based on the `sinceImagePushed` count type. | false |
| image_names | list(string) | List of Docker local image names, used as repository names for AWS ECR | [] |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | null |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | null |
| principals_push_access | list(string) | Principal ARNs to provide with push access to the ECR | [] |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | null |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | null |
| principals_readonly_access | list(string) | Principal ARNs to provide with readonly access to the ECR | [] |
| principals_pull_though_access | list(string) | Principal ARNs to provide with pull though access to the ECR | [] |
| image_tag_mutability | string | The tag mutability setting for the repository. Must be one of: `MUTABLE`, `IMMUT | "IMMUTABLE" |
| protected_tags_keep_count | number | Number of Image versions to keep for protected tags | 999999 |
| force_delete | bool | Whether to delete the repository even if it contains images | false |
| prefixes_pull_through_repositories | list(string) | Organization IDs to provide with push access to the ECR | [] |
| max_image_count | number | How many Docker Image versions AWS ECR will store | 500 |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | null |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| use_fullname | bool | Set 'true' to use `namespace-stage-name` for ecr repository name, else `name` | true |
| replication_configurations | list(object({ rules = list | Replication configuration for a registry. See [Replication Configuration](https: | [] |
| organizations_readonly_access | list(string) | Organization IDs to provide with readonly access to the ECR. | [] |
| … and 2 more inputs | |||
repository_name — Name of first repository createdrepository_url — URL of first repository createdrepository_arn — ARN of first repository createdrepository_url_map — Map of repository names to repository URLsrepository_arn_map — Map of repository names to repository ARNsregistry_id — Registry IDAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,