Utility to manage inputs and outputes of batch worker executions. Uses DynamoDB as backend
Owned by eng-infra
A policy of the following form be added to the ECS Task Role:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1490140880000",
"Effect": "Allow",
"Action": [
"dynamodb:*"
],
"Resource": [
"arn:aws:dynamodb:us-east-1:<account-id>:table/workflow-results*"
]
}
]
}
The name of the Dyanmo table can be changed using the -results-location
flag. It defaults to workflow-results
if AWS_BATCH_JQ_NAME
contains production
else workflow-results-dev
.
batchcli -cmd <command> cmd-args