Skip to content

How do I resolve errors when setting up an S3 bucket for Testomat.io?

To resolve errors when setting up an S3 bucket for Testomat.io, update IAM permissions, whitelist Testomat.io IPs, and verify bucket access policies:

  1. Update IAM permissions

    • Go to AWS IAM and find the user associated with your pipeline (e.g., cypress-pipeline).
    • Add a new policy to that user with permissions to:
      • Allow listing the bucket contents.
      • Allow uploading files to the bucket.
    • Include s3:GetObject in the policy if you encounter access denied errors when downloading artifacts.
  2. Whitelist Testomat.io IPs

    • If your firewall is blocking requests, whitelist the following Testomat.io IP addresses:
      • 142.132.185.19
      • 5.75.250.20
      • 88.99.148.154
  3. Check S3 bucket access policies

    • Verify that the S3 bucket access policies allow the necessary actions for storing and retrieving artifacts.
  • If artifacts are still not visible after these changes, ensure that the IAM policies are correctly applied and that there are no additional network restrictions.
  • Updating the IAM policies and whitelisting the IPs is the confirmed fix for this issue.