Merge pull request #1109 from Hestia-Homes/feature/rewrite_task_handler

actually deploy postcode splitter
This commit is contained in:
Jun-te Kim 2026-05-20 16:26:07 +01:00 committed by GitHub
commit bd36f203e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 3 deletions

View file

@ -169,7 +169,7 @@ jobs:
uses: ./.github/workflows/_build_image.yml
with:
ecr_repo: postcode_splitter-${{ needs.determine_stage.outputs.stage }}
dockerfile_path: backend/postcode_splitter/handler/Dockerfile
dockerfile_path: applications/postcode_splitter/Dockerfile
build_context: .
build_args: |
DEV_DB_HOST=$DEV_DB_HOST

View file

@ -36,6 +36,13 @@ jobs:
build_context: .
service_name: postcode-splitter
postcode_splitter_ddd_smoke_test:
uses: ./.github/workflows/_smoke_test_lambda.yml
with:
dockerfile_path: applications/postcode_splitter/Dockerfile
build_context: .
service_name: postcode-splitter-ddd
# ============================================================
# Bulk Address2UPRN Combiner
# ============================================================

View file

@ -38,8 +38,8 @@ module "lambda" {
{
STAGE = var.stage
LOG_LEVEL = "info"
DB_USERNAME = local.db_credentials.db_assessment_model_username
DB_PASSWORD = local.db_credentials.db_assessment_model_password
POSTGRES_USERNAME = local.db_credentials.db_assessment_model_username
POSTGRES_PASSWORD = local.db_credentials.db_assessment_model_password
ADDRESS2UPRN_QUEUE_URL = data.terraform_remote_state.address2uprn.outputs.address2uprn_queue_url
S3_BUCKET_NAME = data.terraform_remote_state.shared.outputs.retrofit_sap_data_bucket_name
},