Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy Natarov authored and Vitaliy Natarov committed Mar 9, 2022
1 parent 0290a0b commit 09f9cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue_job.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_glue_job" "glue_job" {
role_arn = var.glue_job_role_arn

description = var.glue_job_description
connections = length(var.glue_job_connections) > 0 && !var.enable_glue_connection ? var.glue_job_connections : concat(var.glue_job_additional_connections, [element(concat(aws_glue_connection.glue_connection.*.id, [""]), 0)])
connections = length(var.glue_job_connections) > 0 ? var.glue_job_connections : (var.enable_glue_connection ? concat(var.glue_job_additional_connections, [element(concat(aws_glue_connection.glue_connection.*.id, [""]), 0)]) : [])
default_arguments = var.glue_job_default_arguments
glue_version = var.glue_job_glue_version
max_capacity = var.glue_job_max_capacity
Expand Down

0 comments on commit 09f9cb4

Please sign in to comment.