From 73d4c2ada26b40c8ba4888aa4b3581b5c487fdb2 Mon Sep 17 00:00:00 2001 From: Dan Giles Date: Tue, 29 Aug 2023 14:17:34 +0100 Subject: [PATCH 1/4] feat: Update to the container image --- modules/batch/main.tf | 35 ----------------------------------- variables.tf | 2 +- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/modules/batch/main.tf b/modules/batch/main.tf index d57a768..4aebba4 100644 --- a/modules/batch/main.tf +++ b/modules/batch/main.tf @@ -44,41 +44,6 @@ module "batch" { } } - # # Job queues and scheduling policies - # job_queues = { - # low_priority = { - # name = "LowPriority" - # state = "ENABLED" - # priority = 1 - - # tags = { - # JobQueue = "Low priority job queue" - # } - # } - - # high_priority = { - # name = "HighPriority" - # state = "ENABLED" - # priority = 99 - - # fair_share_policy = { - # compute_reservation = 1 - # share_decay_seconds = 3600 - - # share_distribution = [{ - # share_identifier = "A1*" - # weight_factor = 0.1 - # }, { - # share_identifier = "A2" - # weight_factor = 0.2 - # }] - # } - - # tags = { - # JobQueue = "High priority job queue" - # } - # } - # } } resource "aws_batch_job_definition" "simple_batch_job" { diff --git a/variables.tf b/variables.tf index e163e85..5d2dd21 100644 --- a/variables.tf +++ b/variables.tf @@ -42,7 +42,7 @@ variable "compute_resources_max_vcpus" { variable "container_image_url" { type = string description = "Container image URL" - default = "public.ecr.aws/docker/library/busybox:latest" + default = "public.ecr.aws/docker/library/pandoc:core" } variable "container_vcpu" { type = number From 1834174052addd5c48e292c0f9538a9a5b3d24a9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Aug 2023 13:18:26 +0000 Subject: [PATCH 2/4] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 929cd56..208afff 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ No resources. | [as2\_stack\_name](#input\_as2\_stack\_name) | Stack name | `string` | `"ARC-batch-stack"` | no | | [compute\_environments](#input\_compute\_environments) | Compute environments | `string` | `"fargate"` | no | | [compute\_resources\_max\_vcpus](#input\_compute\_resources\_max\_vcpus) | Max VCPUs resources | `number` | `1` | no | -| [container\_image\_url](#input\_container\_image\_url) | Container image URL | `string` | `"public.ecr.aws/docker/library/busybox:latest"` | no | +| [container\_image\_url](#input\_container\_image\_url) | Container image URL | `string` | `"public.ecr.aws/docker/library/pandoc:core"` | no | | [container\_memory](#input\_container\_memory) | Containter Memory resources | `number` | `2048` | no | | [container\_vcpu](#input\_container\_vcpu) | Containter VCPUs resources | `number` | `1` | no | | [efs\_throughput\_in\_mibps](#input\_efs\_throughput\_in\_mibps) | EFS provisioned throughput in mibps | `number` | `1` | no | From aca77833a3b1aafe8d9dcad76032c98a30fef8d0 Mon Sep 17 00:00:00 2001 From: Dan Giles Date: Fri, 1 Sep 2023 11:06:30 +0100 Subject: [PATCH 3/4] feat: Updating container to pandoc --- modules/batch/main.tf | 2 +- modules/datasync/main.tf | 2 +- variables.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/batch/main.tf b/modules/batch/main.tf index 4aebba4..7662943 100644 --- a/modules/batch/main.tf +++ b/modules/batch/main.tf @@ -55,7 +55,7 @@ resource "aws_batch_job_definition" "simple_batch_job" { container_properties = < Date: Fri, 1 Sep 2023 10:07:30 +0000 Subject: [PATCH 4/4] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 208afff..ddd5a0c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ No resources. | [as2\_stack\_name](#input\_as2\_stack\_name) | Stack name | `string` | `"ARC-batch-stack"` | no | | [compute\_environments](#input\_compute\_environments) | Compute environments | `string` | `"fargate"` | no | | [compute\_resources\_max\_vcpus](#input\_compute\_resources\_max\_vcpus) | Max VCPUs resources | `number` | `1` | no | -| [container\_image\_url](#input\_container\_image\_url) | Container image URL | `string` | `"public.ecr.aws/docker/library/pandoc:core"` | no | +| [container\_image\_url](#input\_container\_image\_url) | Container image URL | `string` | `"pandoc/minimal"` | no | | [container\_memory](#input\_container\_memory) | Containter Memory resources | `number` | `2048` | no | | [container\_vcpu](#input\_container\_vcpu) | Containter VCPUs resources | `number` | `1` | no | | [efs\_throughput\_in\_mibps](#input\_efs\_throughput\_in\_mibps) | EFS provisioned throughput in mibps | `number` | `1` | no |