Skip to content

Commit

Permalink
Merge pull request #18 from martijnvdp/fmt
Browse files Browse the repository at this point in the history
fmt
  • Loading branch information
martijnvdp authored Mar 6, 2023
2 parents 6b6d5c9 + 497ce1d commit 1b8a4e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ No requirements.
| docker\_hub\_credentials | Dockerhub credentials: {"username":"docker\_username","password":"docker\_password"} | `string` | `null` | no |
| 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 | Lambda function options | <pre>object({<br> name = optional(string, "ecr-image-sync")<br> container_uri = optional(string, null)<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> settings = optional(object({<br> check_digest = optional(bool, true)<br> ecr_repo_prefix = optional(string, "dockerhub")<br> max_results = optional(number, 100)<br> }), {})<br> })</pre> | `{}` | no |
| lambda | Lambda function options | <pre>object({<br> name = optional(string, "ecr-image-sync")<br> container_uri = optional(string, null)<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> 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 |
| tags | A mapping of tags assigned to the resources | `map(string)` | `null` | no |

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ variable "lambda" {
}), {})
}), {})
settings = optional(object({
check_digest = optional(bool, true)
max_results = optional(number, 100)
check_digest = optional(bool, true)
max_results = optional(number, 100)
}), {})
})
description = "Lambda function options"
Expand Down

0 comments on commit 1b8a4e9

Please sign in to comment.