File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ locals {
2424 imms_lambda_env_vars = {
2525 " DYNAMODB_TABLE_NAME" = local.imms_table_name,
2626 " IMMUNIZATION_ENV" = var.sub_environment,
27- " IMMUNIZATION_BASE_PATH" = strcontains (terraform . workspace , " pr-" ) ? " immunisation-fhir-api-${ terraform . workspace } " : " immunisation-fhir-api"
27+ " IMMUNIZATION_BASE_PATH" = strcontains (var . sub_environment , " pr-" ) ? " immunisation-fhir-api-${ var . sub_environment } " : " immunisation-fhir-api"
2828 # except for prod and ref, any other env uses PDS int environment
2929 " PDS_ENV" = var.pds_environment
3030 " PDS_CHECK_ENABLED" = tostring (var. pds_check_enabled )
Original file line number Diff line number Diff line change 11environment = " prod"
22immunisation_account_id = " 664418956997"
3- dspp_core_account_id = " 603871901111 "
3+ dspp_core_account_id = " 232116723729 "
44pds_environment = " prod"
55pds_check_enabled = true
66create_mesh_processor = true
Original file line number Diff line number Diff line change 11environment = " prod"
22immunisation_account_id = " 664418956997"
3- dspp_core_account_id = " 603871901111 "
3+ dspp_core_account_id = " 232116723729 "
44pds_environment = " prod"
55pds_check_enabled = true
66create_mesh_processor = true
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ resource "aws_ecr_repository" "operation_lambda_repository" {
1515 scan_on_push = true
1616 }
1717 name = " ${ local . prefix } -operation-lambda-repo"
18- force_delete = true # local.is_temp
18+ force_delete = local. is_temp
1919}
2020
2121# resource "docker_image" "lambda_function_docker" {
Original file line number Diff line number Diff line change @@ -4,19 +4,19 @@ locals {
44 mesh_processor_lambda_files = fileset (local. mesh_processor_lambda_dir , " **" )
55 mesh_processor_lambda_dir_sha = sha1 (join (" " , [for f in local . mesh_processor_lambda_files : filesha1 (" ${ local . mesh_processor_lambda_dir } /${ f } " )]))
66 # This should match the prefix used in the infra Terraform
7- mesh_s3_bucket_name = " imms-${ var . environment } -mesh"
7+ mesh_module_prefix = " imms-${ var . environment } -mesh"
88}
99
1010data "aws_s3_bucket" "mesh" {
1111 count = var. create_mesh_processor ? 1 : 0
1212
13- bucket = local. mesh_s3_bucket_name
13+ bucket = local. mesh_module_prefix
1414}
1515
1616data "aws_kms_key" "mesh" {
1717 count = var. create_mesh_processor ? 1 : 0
1818
19- key_id = " alias/${ local . mesh_s3_bucket_name } "
19+ key_id = " alias/${ local . mesh_module_prefix } "
2020}
2121
2222resource "aws_ecr_repository" "mesh_file_converter_lambda_repository" {
You can’t perform that action at this time.
0 commit comments