aws-batch

fmdlc/aws-batch/module

Terraform Module HCL MODULE

:alien: Terraform module for AWS Batch.

Install
module "aws-batch" {
source = "fmdlc/aws-batch/module"
version = "0.1.0"
}
plain text: /constructs/tfmod-fmdlc-aws-batch-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-batch-module ![](https://img.shields.io/github/languages/code-size/fmdlc/terraform-module-aws-batch) ![](https://img.shields.io/github/downloads/fmdlc/terraform-module-aws-batch/total) !https://github.com/fmdlc/terraform-module-aws-batch/issues !https://www.apache.org/licenses/LICENSE-2.0 !https://www.terraform.io/ ![Linkedin LinkedIn](https://www.linkedin.com/in/fmdlc) ![GitHub GitHub](https://github.com/fmdlc) This module helps to create an AWS Batch stack within VPC. For more details about creating AWS Batch stacks, please see: Terraform batch_compute_environment Terraform batch_job_definition Terraform batch_job_queue Standard architecture A job definition specifies how jobs are to be run—for example, which Docker image to use for your job, how many vCPUs and how much mem

Inputs (14)
NameTypeDescriptionDefault
security_groupslistSecurity groups to be used by the Compute Environment. required
ce_namestringGiven name for the Compute Environment. required
ecs_container_propertiesstringA valid container properties provided as a single valid JSON document. required
vpc_idstringVPC ID to launch Compute Environment. required
min_vcpunumberMinimum number of VCPUs allocated to instances.0
batch_job_queue_prioritystringPriority of the created Job Queue."100"
ce_allocation_strategystringThe allocation strategy to use for the compute resource."BEST_FIT"
max_vcpunumberMaximum allowed VCPUs allocated to instances.32
desired_vcpunumberDesired number of VCPUs allocated to instances.2
instance_typestringThe instance_type for compute environment to use."optimal"
batch_job_queue_namestringBatch Job queue name."batch-job-queue"
batch_job_queue_statestringState of the created Job Queue."ENABLED"
ce_typestringCompute Environment type."MANAGED"
batch_job_definition_namestringBatch Job definition name."batch-job-definition"
Outputs (9)
job_definition_arn — The Job definition ARN.
job_definition_container_properties — The Job definition container properties.
job_queue_arn — The Job queue ARN.
job_queue_state — Job queue state
compute_environment_resources_arn — The CE resources.
compute_environment_name — The CE name.
subnet_ids — Subnet IDs where Compute Environment runs.
compute_environment_state — The CE state.
job_definition_container_parameters — The Job definition parameters
Resources (6)
aws_batch_compute_environmentaws_batch_job_definitionaws_batch_job_queueaws_iam_instance_profileaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud MODULE
★ Stars2
Forks6
Total downloads960
Inputs14
Outputs9
Resources6
Examples1
LicenseApache-2.0
Namespacefmdlc
Updated