diff --git a/terraform/environments/digital-prison-reporting/main.tf b/terraform/environments/digital-prison-reporting/main.tf index 6872ce57e90..f39553597d8 100644 --- a/terraform/environments/digital-prison-reporting/main.tf +++ b/terraform/environments/digital-prison-reporting/main.tf @@ -56,7 +56,7 @@ module "glue_reporting_hub_job" { "--enable-spark-ui" = false "--enable-job-insights" = true "--dpr.aws.kinesis.endpointUrl" = "https://kinesis.${local.account_region}.amazonaws.com" - "--dpr.contract.registryName" = trimprefix(local.glue_avro_registry, local.glue_avro_registry[0]) + "--dpr.contract.registryName" = trimprefix(module.glue_registry_avro.registry_name, local.glue_avro_registry[0]) } }