# terraform-ecr

## Overview

Terraform module for managing an ECR repository.

## Usage

```
module "repository" {
  source = "git@github.com:theorchard/terraform-ecr.git?ref=X.X.X"
  
  repository_name = "my-service"
}
```

## Repository Policy

The module configures a standard ECR repository policy which enables read-write access for all AWS accounts
within The Orchard's Organizational Unit. 


## Testing

Tests are defined using the [testing framework](https://developer.hashicorp.com/terraform/language/tests) introduced in Terraform 1.6+ and can be run using `terraform test`.
