Skip to content

Commit

Permalink
Merge pull request #22 from martijnvdp/readme
Browse files Browse the repository at this point in the history
Readme
  • Loading branch information
martijnvdp authored Mar 7, 2023
2 parents abe0686 + d07ac68 commit 3c3cc04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ No requirements.
| docker\_hub\_credentials\_sm\_item\_name | AWS Secretsmanager item name for dockerhub credentials | `string` | `"docker-hub-ecr-image-sync"` | no |
| ecr\_repository\_prefixes | List of ECR repository prefixes to give the lambda function access for pushing images to | `list(string)` | `null` | no |
| lambda\_function\_settings | Lambda function options | <pre>object({<br> name = optional(string, "ecr-image-sync")<br> container_uri = optional(string, null)<br> timeout = optional(number, 900)<br> zip_file_folder = optional(string, "dist")<br> event_rules = optional(object({<br> payload_updated = optional(object({<br> description = optional(string, "Capture all updated input JSON events: ECRImageSyncScheduledEvent")<br> is_enabled = optional(bool, false)<br> }), {}),<br> repository_tags = optional(object({<br> description = optional(string, "Capture each ECR repository tag changed event")<br> is_enabled = optional(bool, true)<br> }), {})<br> scheduled_event = optional(object({<br> description = optional(string, "CloudWatch schedule for synchronization of the public Docker images.")<br> is_enabled = optional(bool, true)<br> schedule_expression = optional(string, "cron(0 6 * * ? *)")<br> }), {})<br> }), {})<br> sync_settings = optional(object({<br> check_digest = optional(bool, true)<br> max_results = optional(number, 100)<br> }), {})<br> })</pre> | `{}` | no |
| s3\_workflow | S3 bucket workflow options | <pre>object({<br> bucket = optional(string, "ecr-image-sync")<br> codebuild_project_name = optional(string, "ecr-image-sync")<br> codepipeline_name = optional(string, "ecr-image-sync")<br> crane_version = optional(string, "v0.11.0")<br> create_bucket = optional(bool, true)<br> debug = optional(bool, false)<br> enabled = optional(bool, false)<br> })</pre> | `{}` | no |
| s3\_workflow | S3 bucket workflow options | <pre>object({<br> bucket = optional(string, "ecr-image-sync")<br> codebuild_project_name = optional(string, "ecr-image-sync")<br> codepipeline_name = optional(string, "ecr-image-sync")<br> crane_version = optional(string, "v0.11.0")<br> create_bucket = optional(bool, false)<br> debug = optional(bool, false)<br> enabled = optional(bool, false)<br> })</pre> | `{}` | no |
| tags | A mapping of tags assigned to the resources | `map(string)` | `null` | no |

## Outputs
Expand Down
1 change: 0 additions & 1 deletion examples/full.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ module "ecr_lambda" {
}
}


// ECR Image Sync Lambda function
module "ecrImageSync" {
source = "../"
Expand Down

0 comments on commit 3c3cc04

Please sign in to comment.