From ba331d44dc44d70c30cf6028c74a23e99b61f568 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 31 Mar 2026 11:06:57 +0000 Subject: [PATCH] db details --- .github/workflows/deploy_terraform.yml | 7 ------- infrastructure/terraform/lambda/hubspot_deal_etl/main.tf | 2 +- .../terraform/lambda/hubspot_deal_etl/provider.tf | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy_terraform.yml b/.github/workflows/deploy_terraform.yml index 1208ee7b..fe95e3d6 100644 --- a/.github/workflows/deploy_terraform.yml +++ b/.github/workflows/deploy_terraform.yml @@ -496,17 +496,10 @@ jobs: ecr_repo: hubspot-etl-${{ needs.determine_stage.outputs.stage }} dockerfile_path: etl/hubspot/scripts/scraper/handler/Dockerfile build_context: . - build_args: | - DEV_DB_HOST=$DEV_DB_HOST - DEV_DB_PORT=$DEV_DB_PORT - DEV_DB_NAME=$DEV_DB_NAME secrets: AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.DEV_AWS_REGION }} - DEV_DB_HOST: ${{ secrets.DEV_DB_HOST }} - DEV_DB_PORT: ${{ secrets.DEV_DB_PORT }} - DEV_DB_NAME: ${{ secrets.DEV_DB_NAME }} # ============================================================ # Deploy Hubspot ETL Lambda diff --git a/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf b/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf index effcada6..051c7154 100644 --- a/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf +++ b/infrastructure/terraform/lambda/hubspot_deal_etl/main.tf @@ -20,7 +20,7 @@ locals { module "hubspot_deal_etl" { source = "../../modules/lambda_with_sqs" - name = REPLACE ME #"address2uprn" for example + name = "hubspot_deal_etl" stage = var.stage image_uri = local.image_uri diff --git a/infrastructure/terraform/lambda/hubspot_deal_etl/provider.tf b/infrastructure/terraform/lambda/hubspot_deal_etl/provider.tf index 3d66f392..c8a3972c 100644 --- a/infrastructure/terraform/lambda/hubspot_deal_etl/provider.tf +++ b/infrastructure/terraform/lambda/hubspot_deal_etl/provider.tf @@ -7,7 +7,7 @@ terraform { } backend "s3" { - bucket = REPLACE_ME + bucket = "hubspot-etl-bucket-terraform-state" key = "terraform.tfstate" region = "eu-west-2" }