batch
clowdhaus/batch/aws
Terraform module to create AWS Batch resources πΊπ¦
AWS Batch Terraform module Terraform module which creates AWS Batch resources. Usage See examples directory for working examples to reference: ```hcl module "batch" { source = "terraform-aws-modules/batch/aws" compute_environments = { a_ec2 = { name_prefix = "ec2" compute_resources = { type = "EC2" min_vcpus = 4 max_vcpus = 16 desired_vcpus = 4 instance_types = ["m5.large", "r5.large"] security_group_ids = ["sg-f1d03a88"] subnets = ["subnet-30ef7b3c", "subnet-1ecda77b", "subnet-ca09ddbc"] tags = { # This will set the name on the Ec2 instances launched by this compute environment Name = "example" Type = "Ec2" } } } b_ec2_spot = { name_prefix = "ec2_spot" compute_resources = { type = "SPOT" allocation_strategy = "SPOT_CAPACITY_OPTIMIZED" bid_percentage = 20 min_vcpus = 4 max_vcpus = 16 desir
| Name | Type | Description | Default |
|---|---|---|---|
| create_instance_iam_role | bool | Determines whether a an IAM role is created or to use an existing IAM role | true |
| instance_iam_role_permissions_boundary | string | ARN of the policy that is used to set the permissions boundary for the IAM role | null |
| spot_fleet_iam_role_description | string | Spot fleet IAM role description | null |
| spot_fleet_iam_role_additional_policies | map(string) | Additional policies to be added to the IAM role | {} |
| instance_iam_role_additional_policies | map(string) | Additional policies to be added to the IAM role | {} |
| create_spot_fleet_iam_role | bool | Determines whether a an IAM role is created or to use an existing IAM role | false |
| spot_fleet_iam_role_name | string | Spot fleet IAM role name | null |
| spot_fleet_iam_role_path | string | Spot fleet IAM role path | null |
| create_service_iam_role | bool | Determines whether a an IAM role is created or to use an existing IAM role | true |
| service_iam_role_name | string | Batch service IAM role name | null |
| region | string | Region where the resource(s) will be managed. Defaults to the Region set in the | null |
| instance_iam_role_use_name_prefix | string | Determines whether the IAM role name (`instance_iam_role_name`) is used as a pre | true |
| instance_iam_role_path | string | Cluster instance IAM role path | null |
| service_iam_role_description | string | Batch service IAM role description | null |
| job_queues | map(object({ compute_envir | Map of job queue and scheduling policy defintions to create | null |
| job_definitions | map(object({ container_pro | Map of job definitions to create | null |
| service_iam_role_use_name_prefix | bool | Determines whether the IAM role name (`service_iam_role_name`) is used as a pref | true |
| service_iam_role_path | string | Batch service IAM role path | null |
| create_job_queues | bool | Determines whether to create job queues | true |
| instance_iam_role_name | string | Cluster instance IAM role name | null |
instance_iam_instance_profile_unique β Stable and unique string identifying the IAM instance profileservice_iam_role_arn β The Amazon Resource Name (ARN) specifying the IAM rolespot_fleet_iam_role_name β The name of the IAM rolespot_fleet_iam_role_unique_id β Stable and unique string identifying the IAM roleinstance_iam_role_arn β The Amazon Resource Name (ARN) specifying the IAM roleinstance_iam_role_unique_id β Stable and unique string identifying the IAM roleinstance_iam_instance_profile_arn β ARN assigned by AWS to the instance profilejob_queues β Map of job queues created and their associated attributesservice_iam_role_name β The name of the IAM roleservice_iam_role_unique_id β Stable and unique string identifying the IAM rolespot_fleet_iam_role_arn β The Amazon Resource Name (ARN) specifying the IAM rolejob_definitions β Map of job defintions created and their associated attributesinstance_iam_instance_profile_id β Instance profile's IDscheduling_policies β Map of scheduling policies created and their associated attributescompute_environments β Map of compute environments created and their associated attributesinstance_iam_role_name β The name of the IAM roleAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,