diff --git a/README.md b/README.md index 7254841..3c9d6dc 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Lambda event data: "repositories": [ // optional if not specified it wil syn call repos that are configured with tags "arn:aws:ecr:us-east-1:123456789012:repository/dev/datadog/datadog-operator","arn:aws:ecr:us-east-1:123456789012:repository/dev/datadog/datadog"] "check_digest": true // check digest of existing tags on ecr and only add tags if the digest is not the same +"concurrent": 2 // max number of concurrent jobs "max_results": 5 "slack_channel_id":"CDDF324" "slack_errors_only": true // only return errors to slack diff --git a/test/test.go b/test/test.go index 12811ba..82363aa 100644 --- a/test/test.go +++ b/test/test.go @@ -12,6 +12,7 @@ func main() { os.Setenv("AWS_ACCOUNT_ID", "1234") lambdaEvent := ecrImageSync.LambdaEvent{ + Concurrent: 2, CheckDigest: true, MaxResults: 5, }