Closed pritam-yadu closed 1 year ago
Hi @pritam-yadu, thank you for reporting, I am investigating this issue.
Hi @pritam-yadu, I have concluded that the ap-east-1 region is not available for Workspaces or the Workspaces api. The following AWS Document outlines the regions that are currently supported for Workspaces.
https://docs.aws.amazon.com/workspaces/latest/adminguide/azs-workspaces.html
I will close this issue but if you see another bug please do not hesitate to reach back out.
It's not just ap-east-1. It fails randomly for other regions as well.
@giorod3 Please find above snippet.
Looks like workspace is not available in multiple regions. Is there a way we can skip workspace scan in this region?
@giorod3
Description
What did you expect to happen?
What happened instead?
Getting error trivy aws --region ap-east-1 --service workspaces --debug
Error occurred while running adapter for workspaces: operation error WorkSpaces: DescribeWorkspaces, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , request send failed, Post "https://workspaces.ap-east-1.amazonaws.com/": dial tcp: lookup workspaces.ap-east-1.amazonaws.com on 172.18.0.10:53: no such h2023-01-12T16:45:32.668+0530
Output of run with
-debug
:Output of
trivy -v
: