Prisma Cloud: AWS S3 bucket integration fails with IllegalArgumentException error

Prisma Cloud: AWS S3 bucket integration fails with IllegalArgumentException error

2618
Created On 08/11/22 13:39 PM - Last Modified 04/26/24 19:44 PM


Symptom


Integrate Prisma Cloud with Amazon S3  and the test result shows an Error: “Amazon S3 integration test failed : IllegalArgumentException: Endpoint does not contain a valid host name: null”

GUI Path: Settings > Integrations & Notifications > Add Integration > S3 
image_error.JPG
 
 


Environment


  • Prisma Cloud
  • Amazon S3


Cause


  • The is caused if the AWS region is not added properly.
  • Prisma cloud expect to have the CODE region and not the entire region name.


Resolution


  1. Do not use the entire name, and only use the region code.
  2. Instead of the NAME: US East (N.Virginia) us-east-1, Use the CODE: us-east-1
GUI Path: Settings > Integrations & Notifications > Add Integration > S3 
image_noerror.JPG

 


Additional Information


List of AWS Regions

This is complete list of AWS regions available currently.

S.NOCODENAME
1us-east-1US East (N. Virginia)
2us-west-2US West (Oregon)
3us-west-1US West (N. California)
4eu-west-1EU (Ireland)
5eu-central-1EU (Frankfurt)
6ap-southeast-1Asia Pacific (Singapore)
7ap-northeast-1Asia Pacific (Tokyo)
8ap-southeast-2Asia Pacific (Sydney)
9ap-northeast-2Asia Pacific (Seoul)
10sa-east-1South America (São Paulo)
11cn-north-1China (Beijing)
12ap-south-1India (Mumbai)


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000wlH0CAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail