ansible / product-demos

GNU General Public License v3.0
171 stars 174 forks source link

Cloud Demos - VPC Report #108

Open termlen0 opened 8 months ago

termlen0 commented 8 months 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 8 months 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 7 months ago

needs further investigation

IPvSean commented 3 months ago

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

willtome commented 2 weeks ago

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