New Stack / Investments
- Serhii Daletskyi
Describe how to use your module here. confluence
Name | Version |
---|---|
terraform | ~> 1.0 |
aws | >= 3.0 |
Name | Version |
---|---|
aws | >= 3.0 |
No modules.
Name | Type |
---|---|
aws_batch_job_definition.batch_job_definition | resource |
aws_dynamodb_table_item.batch_type_record | resource |
aws_iam_role.batch_ecs_task_execution_role | resource |
aws_iam_role.batch_ecs_task_job_role | resource |
aws_iam_role_policy.batch_ecs_task_job_role_policy | resource |
aws_iam_role_policy_attachment.batch_ecs_task_execution_role_policy | resource |
aws_caller_identity.current | data source |
aws_iam_policy_document.ecs_task_execution_role_policy | data source |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
batch_name | Batch name | string |
n/a | yes |
batch_run_attempts | Number of attempts to run batch worker container. Defaults to 1, specify greater values for immediate retries in case of failure. | number |
1 |
no |
batch_schedule_expression | Batch schedule expression in cron format compatible with AWS Cloudwatch (https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions) | string |
n/a | yes |
batch_type_id | Batch type Id. Must be unique, otherwise configuration will be overridden. | number |
n/a | yes |
batch_type_table_name | n/a | any |
n/a | yes |
batch_worker_count | Number of parallel batch workers to run. | number |
n/a | yes |
batch_worker_polling_interval | Interval (in seconds) for polling batch job status. Default is 60 | number |
60 |
no |
batch_worker_queue_name | Batch worker queue | string |
n/a | yes |
container_environment_variables | The environment variables to pass to the container. This is a list of maps. https://docs.aws.amazon.com/batch/latest/APIReference/API_KeyValuePair.html | list(object({ |
[] |
no |
container_image | Worker container image | string |
"" |
no |
container_memory | Amount of RAM for Fargate container. Default is 1 GB. More info at https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html | string |
"1024" |
no |
container_vcpu | Number of vcpus for Fargate container. Can be fractional (e.g 0.5). Default is 0.5. More info at https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html | string |
"0.5" |
no |
job_role_policy | JSON encoded job role policy | string |
n/a | yes |
region | n/a | string |
"eu-west-1" |
no |
service_name | Service name prefix to apply to resources | any |
n/a | yes |
tags | (Required) Map of tags to apply to repository | map(any) |
n/a | yes |
Name | Description |
---|---|
container_environment_variables | n/a |