ansible / product-demos

GNU General Public License v3.0
194 stars 194 forks source link

Cloud Demos - VPC Report #108

Open termlen0 opened 1 year ago

termlen0 commented 1 year ago

The VPC report is failing due to AWS permission issues.

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GetPublicAccessBlock operation: Access Denied
7
fatal: [localhost]: FAILED! => {"boto3_version": "1.28.62", "botocore_version": "1.31.62", "changed": false, "error": {"code": "AccessDenied", "message": "Access Denied"}, "msg": "Failed to get bucket public access configuration: An error occurred (AccessDenied) when calling the GetPublicAccessBlock operation: Access Denied", "response_metadata": {"host_id": "u/NEFouJ/8csVLtlJFC65G5wgtPvNltvmr0h93kFly0HFl1EMbC51EDAe80cYJpmZdrMaFpWqAQ=", "http_headers": {"content-type": "application/xml", "date": "Tue, 24 Oct 2023 16:49:42 GMT", "server": "AmazonS3", "transfer-encoding": "chunked", "x-amz-id-2": "u/NEFouJ/8csVLtlJFC65G5wgtPvNltvmr0h93kFly0HFl1EMbC51EDAe80cYJpmZdrMaFpWqAQ=", "x-amz-request-id": "X884301GABKE3R5H"}, "http_status_code": 403, "request_id": "X884301GABKE3R5H", "retry_attempts": 0}}
termlen0 commented 1 year ago

FYI.. now the S3 permission works but the report is that's generated is raw HTML so probably need another task that pushes the report somewhere.

willtome commented 1 year ago

needs further investigation

IPvSean commented 8 months ago

i know what is going on now... will be working on a fix

willtome commented 5 months ago

This is still an issue. changing meta data to text/html manually works sometimes

IPvSean commented 3 months ago

i am still working on this fwiw... sorry its taking so long, we have like two places the cloud reports were.... i am shifting it back to github.com/ansible-cloud/aws which has every VPC covered... and then adding some functionality here for showing missing tags... (For the wave demo).