Skip to content

Commit

Permalink
Bug fix for non-spark Glue jobs (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksandom authored Jun 9, 2020
1 parent 27bfb3d commit 855ced8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/aws/glue-job/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ resource "aws_glue_job" "glue_job" {
glue_version = "1.0"
max_capacity = var.with_spark ? null : 1

worker_type = "Standard"
number_of_workers = var.num_workers
worker_type = var.with_spark ? "Standard" : null
number_of_workers = var.with_spark ? var.num_workers : null

command {
script_location = (
Expand Down

0 comments on commit 855ced8

Please sign in to comment.