-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Traceback (most recent call last):\n'
...
File "/usr/local/lib/python3.8/site-packages/dpm/api/clients.py", line 54, in __init__\n'
self.secrets = cloudsecrets.gcp.Secrets(\n'
File "/usr/local/lib/python3.8/site-packages/cloudsecrets/gcp.py", line 66, in __init__\n'
self._init_secrets()\n'
File "/usr/local/lib/python3.8/site-packages/cloudsecrets/__init__.py", line 49, in _init_secrets\n'
self._load_secrets()\n'
File "/usr/local/lib/python3.8/site-packages/cloudsecrets/gcp.py", line 97, in _load_secrets\n'
if self.create_if_not_present and not self._secret_exists:\n'
File "/usr/local/lib/python3.8/site-packages/cloudsecrets/gcp.py", line 75, in _secret_exists\n'
self.client.get_secret(self.client.secret_path(self.project, self.secret))\n'
File "/usr/local/lib/python3.8/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py", line 609, in get_secret\n'
request = service.GetSecretRequest(request)\n'
File "/usr/local/lib/python3.8/site-packages/proto/message.py", line 410, in __init__\n'
raise TypeError(\n'
INFO - b"TypeError: Invalid constructor input for GetSecretRequest: 'projects/dp2-stage/secrets/data-integrations-secrets'\n"
Noticed this issue, then forced data-integrations to use the google-cloud-secret-manager version 1.0.0 and these issues went away.
(Could just be a DI issue though.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels