diff --git a/openmetadata-docs/content/v1.1.x/connectors/database/athena/index.md b/openmetadata-docs/content/v1.1.x/connectors/database/athena/index.md index 001b988f8bc..8197a4e2894 100644 --- a/openmetadata-docs/content/v1.1.x/connectors/database/athena/index.md +++ b/openmetadata-docs/content/v1.1.x/connectors/database/athena/index.md @@ -67,21 +67,47 @@ And is defined as: "Version": "2012-10-17", "Statement": [ { - "Effect": "Allow", "Action": [ - "athena:GetTableMetadata", - "athena:ListDatabases", "athena:ListTableMetadata", - "athena:GetQueryExecution", + "athena:ListDatabases", + "athena:GetTableMetadata", + "athena:ListQueryExecutions", "athena:StartQueryExecution", + "athena:GetQueryExecution", "athena:GetQueryResults", - "glue:GetDatabases", + "athena:BatchGetQueryExecution" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:athena:us-east-2::workgroup/your_workgroup", + "arn:aws:athena:us-east-2::datacatalog/your_datacatalog" + ] + }, + { + "Action": [ "glue:GetTables", "glue:GetTable", - "lakeformation:GetDataAccess" + "glue:GetDatabases" ], + "Effect": "Allow", "Resource": [ - "*" + "arn:aws:glue:us-east-2::table/default/*", + "arn:aws:glue:us-east-2::table/mydatabase/*", + "arn:aws:glue:us-east-2::database/default", + "arn:aws:glue:us-east-2::database/mydatabase", + "arn:aws:glue:us-east-2::catalog" + ] + }, + { + "Action": [ + "s3:ListBucket", + "s3:GetObject", + "s3:GetBucketLocation", + "s3:PutObject" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::athena-bucket/*" ] } ] diff --git a/openmetadata-docs/content/v1.1.x/connectors/database/athena/yaml.md b/openmetadata-docs/content/v1.1.x/connectors/database/athena/yaml.md index 94cf001da2f..676d07aab0b 100644 --- a/openmetadata-docs/content/v1.1.x/connectors/database/athena/yaml.md +++ b/openmetadata-docs/content/v1.1.x/connectors/database/athena/yaml.md @@ -71,21 +71,47 @@ And is defined as: "Version": "2012-10-17", "Statement": [ { - "Effect": "Allow", "Action": [ - "athena:GetTableMetadata", - "athena:ListDatabases", "athena:ListTableMetadata", - "athena:GetQueryExecution", + "athena:ListDatabases", + "athena:GetTableMetadata", + "athena:ListQueryExecutions", "athena:StartQueryExecution", + "athena:GetQueryExecution", "athena:GetQueryResults", - "glue:GetDatabases", + "athena:BatchGetQueryExecution" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:athena:us-east-2::workgroup/your_workgroup", + "arn:aws:athena:us-east-2::datacatalog/your_datacatalog" + ] + }, + { + "Action": [ "glue:GetTables", "glue:GetTable", - "lakeformation:GetDataAccess" + "glue:GetDatabases" ], + "Effect": "Allow", "Resource": [ - "*" + "arn:aws:glue:us-east-2::table/default/*", + "arn:aws:glue:us-east-2::table/mydatabase/*", + "arn:aws:glue:us-east-2::database/default", + "arn:aws:glue:us-east-2::database/mydatabase", + "arn:aws:glue:us-east-2::catalog" + ] + }, + { + "Action": [ + "s3:ListBucket", + "s3:GetObject", + "s3:GetBucketLocation", + "s3:PutObject" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::athena-bucket/*" ] } ] diff --git a/openmetadata-docs/content/v1.2.x/connectors/database/athena/index.md b/openmetadata-docs/content/v1.2.x/connectors/database/athena/index.md index 412c3d4f3bd..145dbca72bc 100644 --- a/openmetadata-docs/content/v1.2.x/connectors/database/athena/index.md +++ b/openmetadata-docs/content/v1.2.x/connectors/database/athena/index.md @@ -67,21 +67,47 @@ And is defined as: "Version": "2012-10-17", "Statement": [ { - "Effect": "Allow", "Action": [ - "athena:GetTableMetadata", - "athena:ListDatabases", "athena:ListTableMetadata", - "athena:GetQueryExecution", + "athena:ListDatabases", + "athena:GetTableMetadata", + "athena:ListQueryExecutions", "athena:StartQueryExecution", + "athena:GetQueryExecution", "athena:GetQueryResults", - "glue:GetDatabases", + "athena:BatchGetQueryExecution" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:athena:us-east-2::workgroup/your_workgroup", + "arn:aws:athena:us-east-2::datacatalog/your_datacatalog" + ] + }, + { + "Action": [ "glue:GetTables", "glue:GetTable", - "lakeformation:GetDataAccess" + "glue:GetDatabases" ], + "Effect": "Allow", "Resource": [ - "*" + "arn:aws:glue:us-east-2::table/default/*", + "arn:aws:glue:us-east-2::table/mydatabase/*", + "arn:aws:glue:us-east-2::database/default", + "arn:aws:glue:us-east-2::database/mydatabase", + "arn:aws:glue:us-east-2::catalog" + ] + }, + { + "Action": [ + "s3:ListBucket", + "s3:GetObject", + "s3:GetBucketLocation", + "s3:PutObject" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::athena-bucket/*" ] } ] diff --git a/openmetadata-docs/content/v1.2.x/connectors/database/athena/yaml.md b/openmetadata-docs/content/v1.2.x/connectors/database/athena/yaml.md index 42efa6826a0..2242e4bfd2f 100644 --- a/openmetadata-docs/content/v1.2.x/connectors/database/athena/yaml.md +++ b/openmetadata-docs/content/v1.2.x/connectors/database/athena/yaml.md @@ -71,21 +71,47 @@ And is defined as: "Version": "2012-10-17", "Statement": [ { - "Effect": "Allow", "Action": [ - "athena:GetTableMetadata", - "athena:ListDatabases", "athena:ListTableMetadata", - "athena:GetQueryExecution", + "athena:ListDatabases", + "athena:GetTableMetadata", + "athena:ListQueryExecutions", "athena:StartQueryExecution", + "athena:GetQueryExecution", "athena:GetQueryResults", - "glue:GetDatabases", + "athena:BatchGetQueryExecution" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:athena:us-east-2::workgroup/your_workgroup", + "arn:aws:athena:us-east-2::datacatalog/your_datacatalog" + ] + }, + { + "Action": [ "glue:GetTables", "glue:GetTable", - "lakeformation:GetDataAccess" + "glue:GetDatabases" ], + "Effect": "Allow", "Resource": [ - "*" + "arn:aws:glue:us-east-2::table/default/*", + "arn:aws:glue:us-east-2::table/mydatabase/*", + "arn:aws:glue:us-east-2::database/default", + "arn:aws:glue:us-east-2::database/mydatabase", + "arn:aws:glue:us-east-2::catalog" + ] + }, + { + "Action": [ + "s3:ListBucket", + "s3:GetObject", + "s3:GetBucketLocation", + "s3:PutObject" + ], + "Effect": "Allow", + "Resource": [ + "arn:aws:s3:::athena-bucket/*" ] } ]