Business intelligence made simple
Added example IAM policy for Amazon Athena [skip ci]
Andrew Kane0fb3e7f925a1
diff --git a/README.md b/README.mdindex 9cc9561f..f8651ba5 100644--- a/README.md+++ b/README.md@@ -623,6 +623,41 @@ data_sources:output_location: s3://some-bucket/```+Here’s an example IAM policy:++```json+{+ "Version": "2012-10-17",+ "Statement": [+ {+ "Effect": "Allow",+ "Action": [+ "athena:GetQueryExecution",+ "athena:GetQueryResults",+ "athena:StartQueryExecution"+ ],+ "Resource": [+ "arn:aws:athena:region:account-id:workgroup/primary"+ ]+ },+ {+ "Effect": "Allow",+ "Action": [+ "glue:GetTable",+ "glue:GetTables"+ ],+ "Resource": [+ "arn:aws:glue:region:account-id:catalog",+ "arn:aws:glue:region:account-id:database/default",+ "arn:aws:glue:region:account-id:table/default/*"+ ]+ }+ ]+}+```++You also need to configure [S3 permissions](https://aws.amazon.com/premiumsupport/knowledge-center/access-denied-athena/).+### Amazon RedshiftAdd [activerecord6-redshift-adapter](https://github.com/kwent/activerecord6-redshift-adapter) or [activerecord5-redshift-adapter](https://github.com/ConsultingMD/activerecord5-redshift-adapter) to your Gemfile and set: