explore-assistant-backend README.md bug
This step is required regardless of BigQuery or Cloud Function deployment
If in the /explore-assistant-backend cd back to root (ie. cd ..) and run the following command:
openssl rand -base64 32 > .vertex_cf_auth_token
without this, we get the following error :
terraform plan
╷
│ Error: Invalid function argument
│
│ on cloud_function/main.tf line 59, in resource "google_secret_manager_secret_version" "vertex_cf_auth_token_version":
│ 59: secret_data = file("${path.module}/../../../.vertex_cf_auth_token")
│ ├────────────────
│ │ while calling file(path)
│ │ path.module is "cloud_function"
│
│ Invalid value for "path" parameter: no file exists at "cloud_function/../../../.vertex_cf_auth_token"; this function works only with files that are distributed as part of the configuration source code, so if this
│ file will be created by a resource in this configuration you must instead obtain this result from an attribute of that resource.
explore-assistant-backend README.md bug This step is required regardless of BigQuery or Cloud Function deployment
without this, we get the following error :