From 3a7a00051d159d7672c29357e664ebc9a2f165a2 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 18 May 2026 09:34:34 +0000 Subject: [PATCH] add new variables to deployment pipeline --- .github/workflows/_deploy_lambda.yml | 8 ++++++++ .github/workflows/deploy_terraform.yml | 2 ++ .../terraform/lambda/pashub_to_ara/main.tf | 2 ++ .../terraform/lambda/pashub_to_ara/variables.tf | 12 ++++++++++++ 4 files changed, 24 insertions(+) diff --git a/.github/workflows/_deploy_lambda.yml b/.github/workflows/_deploy_lambda.yml index 1cc7d462..0d702155 100644 --- a/.github/workflows/_deploy_lambda.yml +++ b/.github/workflows/_deploy_lambda.yml @@ -80,6 +80,10 @@ on: required: false TF_VAR_pashub_password: required: false + TF_VAR_pashub_coordination_email: + required: false + TF_VAR_pashub_coordination_password: + required: false TF_VAR_hubspot_api_key: required: false @@ -154,6 +158,8 @@ jobs: TF_VAR_social_housing_wave_3_sharepoint_id: ${{ secrets.TF_VAR_social_housing_wave_3_sharepoint_id }} TF_VAR_pashub_email: ${{ secrets.TF_VAR_pashub_email }} TF_VAR_pashub_password: ${{ secrets.TF_VAR_pashub_password }} + TF_VAR_pashub_coordination_email: ${{ secrets.TF_VAR_pashub_coordination_email }} + TF_VAR_pashub_coordination_password: ${{ secrets.TF_VAR_pashub_coordination_password }} TF_VAR_hubspot_api_key: ${{ secrets.TF_VAR_hubspot_api_key }} TF_VAR_magicplan_customer_id: ${{ secrets.TF_VAR_magicplan_customer_id }} TF_VAR_magicplan_api_key: ${{ secrets.TF_VAR_magicplan_api_key }} @@ -202,6 +208,8 @@ jobs: TF_VAR_social_housing_wave_3_sharepoint_id: ${{ secrets.TF_VAR_social_housing_wave_3_sharepoint_id }} TF_VAR_pashub_email: ${{ secrets.TF_VAR_pashub_email }} TF_VAR_pashub_password: ${{ secrets.TF_VAR_pashub_password }} + TF_VAR_pashub_coordination_email: ${{ secrets.TF_VAR_pashub_coordination_email }} + TF_VAR_pashub_coordination_password: ${{ secrets.TF_VAR_pashub_coordination_password }} TF_VAR_hubspot_api_key: ${{ secrets.TF_VAR_hubspot_api_key }} TF_VAR_magicplan_customer_id: ${{ secrets.TF_VAR_magicplan_customer_id }} TF_VAR_magicplan_api_key: ${{ secrets.TF_VAR_magicplan_api_key }} diff --git a/.github/workflows/deploy_terraform.yml b/.github/workflows/deploy_terraform.yml index e0343974..bd014e3d 100644 --- a/.github/workflows/deploy_terraform.yml +++ b/.github/workflows/deploy_terraform.yml @@ -407,6 +407,8 @@ jobs: TF_VAR_social_housing_wave_3_sharepoint_id: ${{ secrets.SOCIAL_HOUSING_WAVE_3_SHAREPOINT_ID }} TF_VAR_pashub_email: ${{ secrets.PASHUB_EMAIL }} TF_VAR_pashub_password: ${{ secrets.PASHUB_PASSWORD }} + TF_VAR_pashub_coordination_email: ${{ secrets.PASHUB_COORDINATION_EMAIL }} + TF_VAR_pashub_coordination_password: ${{ secrets.PASHUB_COORDINATION_PASSWORD }} # ============================================================ diff --git a/infrastructure/terraform/lambda/pashub_to_ara/main.tf b/infrastructure/terraform/lambda/pashub_to_ara/main.tf index 902d7845..eba9c874 100644 --- a/infrastructure/terraform/lambda/pashub_to_ara/main.tf +++ b/infrastructure/terraform/lambda/pashub_to_ara/main.tf @@ -49,6 +49,8 @@ module "lambda" { SOCIAL_HOUSING_WAVE_3_SHAREPOINT_ID = var.social_housing_wave_3_sharepoint_id PASHUB_EMAIL = var.pashub_email PASHUB_PASSWORD = var.pashub_password + PASHUB_COORDINATION_EMAIL = var.pashub_coordination_email + PASHUB_COORDINATION_PASSWORD = var.pashub_coordination_password } } diff --git a/infrastructure/terraform/lambda/pashub_to_ara/variables.tf b/infrastructure/terraform/lambda/pashub_to_ara/variables.tf index 0e99d378..cdeff256 100644 --- a/infrastructure/terraform/lambda/pashub_to_ara/variables.tf +++ b/infrastructure/terraform/lambda/pashub_to_ara/variables.tf @@ -100,4 +100,16 @@ variable "pashub_email" { variable "pashub_password" { type = string sensitive = true +} + +variable "pashub_coordination_email" { + type = string + sensitive = true + default = null +} + +variable "pashub_coordination_password" { + type = string + sensitive = true + default = null } \ No newline at end of file