Search code examples
terraformaws-glue

Terraform for providing dependent jar path in AWS Glue


I am trying to deploy an AWS Glue job through terraform. However, having gone through the documentation over the below, I am unable to find a way to configure "Dependent jars path" in Terraform as I am referencing a jar file in my AWS Glue code https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/glue_job

Is there a way to get around this please? Click here for a screen grab of the Dependent jars path


Solution

  • Put the --extra-jars path (as per https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html) into the default_arguments, as per https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/glue_job