Skip to content

Commit e20f9a6

Browse files
committed
pr fixes
1 parent 720d7fb commit e20f9a6

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

infrastructure/environments/production/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ module "frontend" {
221221
github_repository = var.github_repository
222222
github_access_token = var.github_access_token
223223

224-
# Deploy from a test branch for now (change to "main" when ready for production)
225224
main_branch_name = var.deploy_branch_name
226225

227226
# Backend API URL - use custom domain if configured, otherwise EB default
@@ -236,7 +235,8 @@ module "frontend" {
236235

237236
# Additional environment variables for frontend build
238237
additional_environment_variables = {
239-
VITE_REACT_APP_GOOGLE_AUTH_CLIENT_ID = var.google_client_id
238+
VITE_REACT_APP_GOOGLE_AUTH_CLIENT_ID = var.google_client_id,
239+
VITE_REACT_APP_CLARITY_PROJECT_ID = var.clarity_project_id
240240
}
241241
}
242242

infrastructure/environments/production/terraform.tfvars.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ google_client_id = "" # e.g., "123456789-abcdef.apps.googleusercontent.com"
3131
slack_id =
3232
github_repository="https://github.com/Northeastern-Electric-Racing/FinishLine"
3333
deploy_branch_name="multitenancy"
34+
clarity_project_id =
3435

3536
# Secrets (NEVER commit these or anything above but that stuff is less important)
3637
db_master_password =

infrastructure/environments/production/variables.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ variable "calendar_refresh_token" {
224224
variable "github_repository" {
225225
description = "GitHub repository URL (e.g., https://github.com/username/FinishLine)"
226226
type = string
227-
default = "" # Set this to your GitHub repo URL
227+
default = "https://github.com/Northeastern-Electric-Racing/FinishLine"
228228
}
229229

230230
variable "github_access_token" {
@@ -239,7 +239,7 @@ variable "github_access_token" {
239239
variable "deploy_branch_name" {
240240
description = "Branch name to deploy (use a test branch initially, then switch to 'main')"
241241
type = string
242-
default = "multitenancy" # Change to 'main' when ready for production
242+
default = "multitenancy"
243243
}
244244

245245
variable "enable_pull_request_preview" {
@@ -270,6 +270,12 @@ variable "slack_id" {
270270
default = ""
271271
}
272272

273+
variable "clarity_project_id" {
274+
description = "Microsoft Clarity project ID (public)"
275+
type = string
276+
default = ""
277+
}
278+
273279
variable "user_email" {
274280
description = "Primary email address"
275281
type = string

0 commit comments

Comments
 (0)