include hubspot api key

This commit is contained in:
Jun-te Kim 2026-04-01 10:33:06 +00:00
parent 60f3d25c29
commit 8a9f51f9e6
4 changed files with 9 additions and 0 deletions

View file

@ -80,6 +80,8 @@ on:
required: false
TF_VAR_pashub_password:
required: false
TF_VAR_hubspot_api_key:
required: false
jobs:
deploy:
runs-on: ubuntu-latest

View file

@ -518,6 +518,7 @@ jobs:
TF_VAR_db_host: ${{ secrets.DEV_DB_HOST }}
TF_VAR_db_name: ${{ secrets.DEV_DB_NAME }}
TF_VAR_db_port: ${{ secrets.DEV_DB_PORT }}
TF_VAR_hubspot_api_key: ${{ secrets.HUBSPOT_API_KEY }}
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 }}

View file

@ -38,6 +38,7 @@ module "hubspot_deal_etl" {
DB_HOST = var.db_host
DB_NAME = var.db_name
DB_PORT = var.db_port
HUBSPOT_API_KEY = var.hubspot_api_key
}
}

View file

@ -41,6 +41,11 @@ variable "db_host" {
type = string
}
variable "hubspot_api_key" {
type = string
}
variable "db_name" {
type = string
}