Skip to content

Commit ea0b958

Browse files
committed
Fix: Restore full secret path for API_TOKEN_SECRET_NAME in GCP operator
1 parent be61298 commit ea0b958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gcp-oidc/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ resource "google_compute_instance_template" "uid_operator" {
108108
tee-container-log-redirect = true
109109
tee-restart-policy = "Never"
110110
tee-env-DEPLOYMENT_ENVIRONMENT = var.uid_deployment_env
111-
tee-env-API_TOKEN_SECRET_NAME = var.uid_operator_key_secret_name
111+
tee-env-API_TOKEN_SECRET_NAME = module.secret-manager.secret_versions[0]
112112
tee-env-CORE_BASE_URL = var.uid_deployment_env == "integ" ? "https://core-integ.uidapi.com" : "https://core-prod.uidapi.com"
113113
tee-env-OPTOUT_BASE_URL = var.uid_deployment_env == "integ" ? "https://optout-integ.uidapi.com" : "https://optout-prod.uidapi.com"
114114
},

0 commit comments

Comments
 (0)