Free Edition — S3 storage credential validation fails at "Assume Role" though IAM config is verified
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Workspace ID 7474651448614968 (Free Edition, AWS). Credential databricks-dataengineer-v2 (IAM role arn:aws:iam::278137443935:role/DATABRICKS-DATAENGINEER) fails validation at the Assume Role step; CREATE EXTERNAL LOCATION returns PERMISSION_DENIED ... 403 Forbidden error from cloud storage provider. Verified on the AWS side: trust policy exactly per the create-credential dialog (principal arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL + the role itself for self-assuming, sts:ExternalId = credential's external ID), s3-scoped permission policy on the target bucket, no bucket policy, no permission boundary. In-account sts:AssumeRole + aws s3 ls against the bucket succeed via CLI. However, CloudTrail Event history shows zero AssumeRole events from account 414351767826 (checked us-east-1 and ap-southeast-2, before and after each config change). Questions: Is unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL in account 414351767826 the correct trust principal for Free Edition workspaces, or does Free Edition's metastore use a different principal/region? Is there a known issue with IAM-role storage credentials on Free Edition? Please help how to fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Not sure this is a config problem on your side. Your AWS setup sounds right, and the empty CloudTrail is the telling bit: if UCMasterRole never shows an AssumeRole into your account, the request is probably being refused before it gets that far, so it would not be your trust policy failing.
The Free Edition limitations page lists custom workspace storage locations as unsupported, and community threads say Free Edition storage is managed by Databricks. I could not find an official line either way on storage credentials pointing at your own S3 bucket, so treat this as a likely explanation, not a confirmed one.
I would try the same role on a trial or paid workspace to see whether validation passes there. If it does, the role is fine and it is a Free Edition limit. For a definite answer on your own bucket, Databricks support or the Free Edition feedback channel is the place to ask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Arisk, I agree with @DoTA that your AWS setup looks right. The master role ARN you're using matches the one in the AWS setup docs (https://docs.databricks.com/aws/en/connect/unity-catalog/cloud-storage/s3/s3-external-location-manua...), and I couldn't find a separate one for Free Edition.
One thing worth checking before you conclude it's a Free Edition limit: CloudTrail event history is per region, and AWS logs an AssumeRole call in the region of the STS endpoint used, which is usually your workspace's region. You looked in us-east-1 and ap-southeast-2. Which region is your workspace in? Another Free Edition user with the same error (td-p/175318 (https://community.databricks.com/t5/data-engineering/databricks-free-edition-aws-s3-storage-credenti...)) is on us-east-2. If you see a failed AssumeRole there, the error will tell you the cause. If there's still nothing, the request isn't reaching AWS, and testing the same role on a free trial (https://docs.databricks.com/aws/en/ges-free-edition) workspace is the quickest way to confirm it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hello @Arisk. Were you able to resolve it? If so, could you share what fixed it, or mark the reply that helped as an accepted solution?