File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
terraform/account-wide-infrastructure/modules/glue Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ resource "aws_glue_job" "glue_job" {
5151 " --datalake-formats" = " delta"
5252 " --source_path" = " s3://${ aws_s3_bucket . source-data-bucket . id } /" # Specify the source S3 path
5353 " --target_path" = " s3://${ aws_s3_bucket . target-data-bucket . id } /logs" # Specify the destination S3 path
54- " --job_name" = " poc -glue-job"
54+ " --job_name" = " ${ var . name_prefix } -glue-job"
5555 " --enable-continuous-log-filter" = " true"
5656 " --enable-metrics" = " true"
5757 " --extra-py-files" = " s3://${ aws_s3_bucket . code-bucket . id } /src.zip"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def __init__(
2727 region_name = "eu-west-2" ,
2828 endpoint_url = "https://glue.eu-west-2.amazonaws.com" ,
2929 )
30- self .name_prefix = "-" .join (job_name .split ("-" )[:3 ])
30+ self .name_prefix = "-" .join (job_name .split ("-" )[:4 ])
3131
3232 def run (self ):
3333 """Runs ETL"""
You can’t perform that action at this time.
0 commit comments