terraform-ibm-modules / terraform-ibm-rag-sample-da

A deployable architecture solution to deploy RAG resources.
Apache License 2.0
2 stars 0 forks source link

Token is visible in errors #42

Closed vburckhardt closed 6 months ago

vburckhardt commented 6 months ago
2024/04/22 15:37:12 Terraform apply | Error: local-exec provisioner error
 2024/04/22 15:37:12 Terraform apply | 
 2024/04/22 15:37:12 Terraform apply |   with null_resource.discovery_file_upload,
 2024/04/22 15:37:12 Terraform apply |   on main.tf line 136, in resource "null_resource" "discovery_file_upload":
 2024/04/22 15:37:12 Terraform apply |  136:   provisioner "local-exec" {
 2024/04/22 15:37:12 Terraform apply | 
 2024/04/22 15:37:12 Terraform apply | Error running command './watson-scripts/discovery-file-upload.sh "Bearer
 2024/04/22 15:37:12 Terraform apply | <TOKEN WAS VISIBLE HERE - REMOVED FOR THIS TICKET>
 2024/04/22 15:37:12 Terraform apply | "https://api.us-south.discovery.watson.cloud.ibm.com/instances/9a75f942-e4c0-47ae-a1a2-b2d5ddb001e0"
 2024/04/22 15:37:12 Terraform apply | "./artifacts/WatsonDiscovery" ': exit status 3. Output:   %!T(MISSING)otal    %!
 (MISSING)
 2024/04/22 15:37:12 Terraform apply | Received %!X(MISSING)ferd  Average Speed   Time    Time     Time  Current
 2024/04/22 15:37:12 Terraform apply |                                  Dload  Upload   Total   Spent    Left  Speed
 2024/04/22 15:37:12 Terraform apply | 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 2024/04/22 15:37:12 Terraform apply | 0
  0   367    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 2024/04/22 15:37:12 Terraform apply | 0
100   367  100   367    0     0    500      0 --:--:-- --:--:-- --:--:--
 2024/04/22 15:37:12 Terraform apply | 500
 2024/04/22 15:37:12 Terraform apply |   %!T(MISSING)otal    %!R(MISSING)eceived %!X(MISSING)ferd  Average Speed   Time    Time     Time  Current
 2024/04/22 15:37:12 Terraform apply |                                  Dload  Upload   Total   Spent    Left  Speed
 2024/04/22 15:37:12 Terraform apply | 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 2024/04/22 15:37:12 Terraform apply | 0
  0   246    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 2024/04/22 15:37:12 Terraform apply | 0
100   246  100   246    0     0    310      0 --:--:-- --:--:-- --:--:--
 2024/04/22 15:37:12 Terraform apply | 310
 2024/04/22 15:37:12 Terraform apply | curl: (3) Illegal characters found in URL
 2024/04/22 15:37:12 Terraform apply | 
 2024/04/22 15:37:12 Terraform APPLY error: Terraform APPLY errorexit status 1
rajatagarwal-ibm commented 6 months ago

PR merged https://github.com/terraform-ibm-modules/terraform-ibm-rag-sample-da/pull/47