Skip to content

Commit a39f0f7

Browse files
committed
CCM-12616: Fix import module error
1 parent ca56d6e commit a39f0f7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

infrastructure/terraform/components/dl/module_lambda_mesh_download.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module "mesh_download" {
2222
function_code_base_path = local.aws_lambda_functions_dir_path
2323
function_code_dir = "mesh-download/target/dist"
2424
function_include_common = true
25-
handler_function_name = "mesh_download.handler.handler"
25+
handler_function_name = "handler.handler"
2626
runtime = "python3.13"
2727
memory = 256
2828
timeout = 60

infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module "mesh_poll" {
2222
function_code_base_path = local.aws_lambda_functions_dir_path
2323
function_code_dir = "mesh-poll/target/dist"
2424
function_include_common = true
25-
handler_function_name = "mesh_poll.handler.handler"
25+
handler_function_name = "handler.handler"
2626
runtime = "python3.13"
2727
memory = 128
2828
timeout = 5

lambdas/mesh-download/package_python_lambda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ component_name="$1"
66
rootdir=$(realpath "$(dirname "$0")/../..")
77
source ${rootdir}/utils/get_version.sh
88

9-
VERSIONED_ZIP_NAME="NHSD.comms."${component_name}-"${point_version}"".zip"
9+
VERSIONED_ZIP_NAME="NHSD.dl."${component_name}-"${POINT_VERSION}"".zip"
1010

1111
dist_dir="${PWD}/target/dist"
1212
build_dir="${PWD}/target/python-build"

lambdas/mesh-poll/package_python_lambda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ component_name="$1"
66
rootdir=$(realpath "$(dirname "$0")/../..")
77
source ${rootdir}/utils/get_version.sh
88

9-
VERSIONED_ZIP_NAME="NHSD.comms."${component_name}-"${point_version}"".zip"
9+
VERSIONED_ZIP_NAME="NHSD.dl."${component_name}-"${POINT_VERSION}"".zip"
1010

1111
dist_dir="${PWD}/target/dist"
1212
build_dir="${PWD}/target/python-build"

utils/get_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88
root_package_json="$(dirname ${BASH_SOURCE[0]})/../package.json"
99
version="$(jq -r ".version" "${root_package_json}")"
1010
POINT_VERSION="${version}"."${CI_PIPELINE_IID:-0}"
11-
BRANCH_AND_VERSION="${CI_COMMIT_REF_NAME:-$(git branch --show-current)}"_"${point_version}";
11+
BRANCH_AND_VERSION="${CI_COMMIT_REF_NAME:-$(git branch --show-current)}"_"${POINT_VERSION}";
1212

1313
export POINT_VERSION
1414
export BRANCH_AND_VERSION

0 commit comments

Comments
 (0)