Skip to content

Commit 49cb7c3

Browse files
committed
[PRMP-399] fixing mismatching handler/fucntion names
1 parent 541c98b commit 49cb7c3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

infrastructure/lambda-migration-dynamodb-segment-step.tf renamed to infrastructure/lambda-migration-dynamodb-segment.tf

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module "migration-dynamodb-segment-step-lambda" {
1+
module "migration-dynamodb-segment-lambda" {
22
source = "./modules/lambda"
33
name = "MigrationDynamodbSegmentLambda"
4-
handler = "handlers.migration_dynamodb_segment_step.lambda_handler"
4+
handler = "handlers.migration_dynamodb_segment_handler.lambda_handler"
55
lambda_timeout = 900
66
memory_size = 1769
77
iam_role_policy_documents = [
@@ -11,9 +11,6 @@ module "migration-dynamodb-segment-step-lambda" {
1111
kms_deletion_window = var.kms_deletion_window
1212

1313
lambda_environment_variables = {
14-
APPCONFIG_APPLICATION = module.ndr-app-config.app_config_application_id
15-
APPCONFIG_ENVIRONMENT = module.ndr-app-config.app_config_environment_id
16-
APPCONFIG_CONFIGURATION = module.ndr-app-config.app_config_configuration_profile_id
1714
WORKSPACE = terraform.workspace
1815
MIGRATION_SEGMENT_BUCKET_NAME = "${terraform.workspace}-${var.migration_dynamodb_segment_store_bucket_name}"
1916
}

0 commit comments

Comments
 (0)