Skip to content

Commit 6de8dd5

Browse files
Fix Frontend env naming for API Gateway (#6555)
## Summary Fixes bug introduced from previous PR ## Changes proposed - Fixes the naming for env var for API gateway token in frontend ## Context for reviewers In my previous PR, I copied pasted the object to add my env var, and I forgot to change the name. This caused my param to overwrite the API JWT token, causing the frontend to fail ## Validation steps <!-- Manual testing instructions, as well as any helpful references (screenshots, GIF demos, code examples or output). -->
1 parent f860b2e commit 6de8dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/frontend/app-config/env-config/environment_variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ locals {
119119
manage_method = "manual"
120120
secret_store_name = "/api/${var.environment}/api-jwt-public-key"
121121
},
122-
API_JWT_PUBLIC_KEY = {
122+
API_AUTH_X_API_KEY = {
123123
manage_method = "manual"
124124
secret_store_name = "/${var.app_name}/${var.environment}/X-API-KEY"
125125
},

0 commit comments

Comments
 (0)