Skip to content

Commit

Permalink
Merge branch 'main' into githubactions
Browse files Browse the repository at this point in the history
  • Loading branch information
umeshkumhar committed Mar 6, 2024
2 parents 9c19454 + 13be33c commit 533b376
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/rag/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ module "frontend" {
google_service_account = var.rag_service_account
namespace = var.kubernetes_namespace
inference_service_endpoint = module.inference-server.inference_service_endpoint
cloudsql_instance = var.cloudsql_instance
cloudsql_instance = module.cloudsql.instance
db_secret_name = module.cloudsql.db_secret_name
db_secret_namespace = module.cloudsql.db_secret_namespace
dataset_embeddings_table_name = var.dataset_embeddings_table_name
Expand Down
7 changes: 6 additions & 1 deletion modules/cloudsql/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ output "db_secret_name" {
output "db_secret_namespace" {
description = "Cloud SQL DB secret namespace"
value = kubernetes_secret.secret.metadata[0].namespace
}
}

output "instance" {
description = "Cloud SQL Instance name"
value = google_sql_database_instance.main.name
}

0 comments on commit 533b376

Please sign in to comment.