I am using a Shared Databricks Compute and trying to read data from an S3 bucket via an Instance Profile. However, I am encountering the following error:
[INSUFFICIENT_PERMISSIONS] Insufficient privileges: User does not have permission SELECT on any file. SQLSTATE: 42501
My Setup:
I am a Databricks workspace user.
The Instance Profile is correctly configured, and I can see it while creating the compute.
The S3 bucket has the necessary permissions for the instance profile.
Troubleshooting Steps Tried:
1. Verified that the instance profile is attached to the shared compute.
2. Checked S3 bucket permissions (s3:GetObject, s3:ListBucket).
3. Tried using a single-user cluster instead of shared compute (its working fine with single user compute).
Is this the expected behavior or a limitation of Shared Databricks Compute?