All Projects → turnerlabs → terraform-scheduled-batch-job

turnerlabs / terraform-scheduled-batch-job

Licence: other
A Terraform module representing a scheduled Batch job

Programming Languages

HCL
1544 projects

Projects that are alternatives of or similar to terraform-scheduled-batch-job

aws-genomics-workflows
Genomics Workflows on AWS
Stars: ✭ 131 (+495.45%)
Mutual labels:  batch
python-batch-runner
A tiny framework for building batch applications as a collection of tasks in a workflow.
Stars: ✭ 22 (+0%)
Mutual labels:  batch
xToBatConverter
Generate a ms batch file and inject a files inside of it. When the batch is executed, the files are extracted and executed.
Stars: ✭ 17 (-22.73%)
Mutual labels:  batch
animethemes-dl
THIS PROJECT HAS BEEN ABANDONED. Downloads anime themes from animethemes.moe. Supports Batch download and MAL/AniList connecting.
Stars: ✭ 21 (-4.55%)
Mutual labels:  batch
EspBuddy
Wrapper to easily upload (OTA or Serial), backup, batch query, monitor ESP8266 boards using Esptool.py, Espota.py and Platformio
Stars: ✭ 47 (+113.64%)
Mutual labels:  batch
rack-cargo
🚚 Batch requests for Rack apps (works with Rails, Sinatra, etc)
Stars: ✭ 17 (-22.73%)
Mutual labels:  batch
bodywork-ml-pipeline-project
Deployment template for a continuous training pipeline.
Stars: ✭ 22 (+0%)
Mutual labels:  batch
Windows-10-tweaks
This repo contains multiple scripts to optimize windows 10
Stars: ✭ 37 (+68.18%)
Mutual labels:  batch
CWP-Utilities
Combined Windows Privacy Utilities | Hosts file updater, block list manager, and more. Open source tools for Windows users, to help ensure privacy & security. Block ads, spyware domains, and other malicious activity/traffic, all through a simple interface.
Stars: ✭ 63 (+186.36%)
Mutual labels:  batch
OGMNeo
[No Maintenance] Neo4j nodeJS OGM(object-graph mapping) abstraction layer
Stars: ✭ 54 (+145.45%)
Mutual labels:  batch
camunda-bpm-custom-batch
using the camunda batch execution for custom batch runs
Stars: ✭ 22 (+0%)
Mutual labels:  batch
aws-batch-example
Example use of AWS batch
Stars: ✭ 96 (+336.36%)
Mutual labels:  batch
WPWatcher
Wordpress Watcher is a wrapper for WPScan that manages scans on multiple sites and reports by email and/or syslog. Schedule scans and get notified when vulnerabilities, outdated plugins and other risks are found.
Stars: ✭ 34 (+54.55%)
Mutual labels:  batch
lighthouse-batch-parallel
A module for helping collecting websites' Lighthouse audit data in batches. Get the report data stream in CSV, JS Object or JSON format. Also provide a cli-tool to generate the report file in CSV or JSON format directly.
Stars: ✭ 22 (+0%)
Mutual labels:  batch
ocr2text
Convert a PDF via OCR to a TXT file in UTF-8 encoding
Stars: ✭ 90 (+309.09%)
Mutual labels:  batch
spring-batch-rest
REST API for Spring Batch using Spring Boot 2.2
Stars: ✭ 85 (+286.36%)
Mutual labels:  batch
goroutines
It is an efficient, flexible, and lightweight goroutine pool. It provides an easy way to deal with concurrent tasks with limited resource.
Stars: ✭ 88 (+300%)
Mutual labels:  batch
aly
Command Line Alias Manager and Plugin System - Written in Golang
Stars: ✭ 21 (-4.55%)
Mutual labels:  batch
mongoose-plugin-cache
The Perfect Marriage of MongoDB and Redis
Stars: ✭ 42 (+90.91%)
Mutual labels:  batch
ProcessAdminActions
ProcessWire control panel for running various admin actions
Stars: ✭ 17 (-22.73%)
Mutual labels:  batch

terraform-scheduled-batch-job

A Terraform module representing a scheduled Batch job. Uses a Cloud Watch Event Rule and a Lambda function to submit the Batch job on a cron schedule. Use of the Batch service overcomes two of Lambda's current limitations:

  • jobs can run longer than five minutes
  • jobs run as containers so they can be written in any language

TODO: Consider including the Batch infrastructure setup inside this module once the Batch Terraform provider is available.

Inputs

Name Description Type Default Required
batch_job_definition the batch job definition to run string - yes
batch_job_queue the batch job queue to submit to string - yes
is_enabled whether or not the job will be run string true no
name the name of the scheduled job string - yes
schedule_expression the schedule to execute the job on string - yes
tags tags map - yes

Outputs

Name Description
aws_lambda_function_arn the created lambda function
cloudwatch_event_rule_arn the created cloudwatch event rule

usage example

provider "aws" {
  region  = "us-east-1"
}

module "scheduled-batch-job" {
  source = "github.com/turnerlabs/terraform-scheduled-batch-job?ref=v0.2.0"

  name                 = "my-scheduled-job"
  batch_job_definition = "my-job-definition"
  batch_job_queue      = "my-job-queue"
  schedule_expression  = "rate(1 hour)"
  is_enabled           = "true"
  
  tags = "${map("team", "my-team", "contact-email", "[email protected]", "application", "my-app", "environment", "dev", "customer", "my-customer")}"  
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].