Forum Discussion
7 Replies
- brianrandolphNew Contributor III
Things I’ve found out when using the IAM role, thanks to SnapLogic documentation:
‘If enabled, IAM role stored in the EC2 instance is used to access S3 bucket. Access-key ID and Secret key are required to be empty if this property is selected.
The List, Read and Write permissions are required as per the attached S3 policy for the IAM role stored on the EC2 instance.
This property is valid only in EC2-type Groundplex. In the groundplex, the following line should be added to global.properties and restart jcc : jcc.jvm_options = -DIAM_CREDENTIAL_FOR_S3=TRUE’ - venkatNew Contributor
Hi Ajain,
I am trying access data lying in IAM Role’s S3 bucket. When i pass Access ID and Secret Key. Its throwing a error
Can please help me out how to access S3 bucket from IAM role or IAM user?Error log:-
Failure: Cannot find S3 file: s3://mybucketname/data.csv, Reason: The specified bucket does not exist (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket; Request ID: 1D516FE5835DE551),
Extended request ID: JCONk3oV2OZzzEuvyGekgpULJIpkaD2gLUrCDDvIlDlgJE=, Resolution: Check for valid URL, AWS credential and permission.I have validated the AWS credentials using AWSCLI Its working. But in snaplogic, am facing issue
Regards,
Venkat- dmillerFormer Employee
Venkat,
S3 paths require three slashes, s3:///mybucketname/data.csv
- venkatNew Contributor
Hey,
Sorry i misspelled it. I have used three /// but still not luck
- ajainFormer Employee
Hi Venkat I would recommend filing a case with our support team - If you are an authorized user, simply email support@snaplogic.com to auto-create a ticket.
It seems that the error you’re seeing indicates the bucket with that name is not present.- venkatNew Contributor
Hi Ajain,
I have bucket under “ABC Role” account, I login into my account then I switch the role to “ABC role”. In aws account.
Regards
Venkat