Skip to content

Cross Account IAM Role for Databricks#

If a Databricks instance and AWS EC2 instance are running in two different accounts, then a cross account role is required for the Databricks instance to access the EC2 instance and the other resources.

The following is an example of a cross account IAM role for Databricks:

{
   "Version":"2012-10-17",
   "Statement":{
      "Effect":"Allow",
      "Action":"sts:AssumeRole",
      "Resource":"arn:aws:iam::123456789012:role/IAM_role_attached_to_EC2"
   }
}

Last update: July 23, 2021