thunder-ctf icon indicating copy to clipboard operation
thunder-ctf copied to clipboard

thunder.py destroy issue

Open blackbrownco opened this issue 3 years ago • 0 comments

I had issue while destroying the infrastructure using the thunder python, with warning as follow:

Traceback (most recent call last): File "/home/altodia/thunder-ctf/thunder.py", line 151, in func(*args[1:]) File "/home/altodia/thunder-ctf/thunder.py", line 36, in destroy project.test_application_default_credentials() File "/home/altodia/thunder-ctf/core/framework/project.py", line 55, in test_application_default_credentials response = crm_api.projects().testIamPermissions(resource=project_id, body={ File "/usr/local/lib/python3.9/dist-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/googleapiclient/http.py", line 923, in execute resp, content = _retry_request( File "/usr/local/lib/python3.9/dist-packages/googleapiclient/http.py", line 191, in _retry_request resp, content = http.request(uri, method, *args, **kwargs) File "/usr/local/lib/python3.9/dist-packages/google_auth_httplib2.py", line 209, in request self.credentials.before_request(self._request, method, uri, request_headers) File "/usr/local/lib/python3.9/dist-packages/google/auth/credentials.py", line 133, in before_request self.refresh(request) File "/usr/local/lib/python3.9/dist-packages/google/auth/compute_engine/credentials.py", line 111, in refresh self._retrieve_info(request) File "/usr/local/lib/python3.9/dist-packages/google/auth/compute_engine/credentials.py", line 91, in _retrieve_info self._service_account_email = info["email"] TypeError: string indices must be integers

blackbrownco avatar Oct 28 '22 10:10 blackbrownco