Skip to content

Commit 4da3eeb

Browse files
committed
update README.md
1 parent f9fc82f commit 4da3eeb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,14 @@ command.
226226

227227
:information_source: If you fail to create the table, give Athena users access permissions on `iceberg_demo_db` through [AWS Lake Formation](https://console.aws.amazon.com/lakeformation/home), or you can grant anyone using Athena to access `iceberg_demo_db` by running the following command:
228228
<pre>
229+
(.venv) $ aws lakeformation grant-permissions \
230+
--principal DataLakePrincipalIdentifier=arn:aws:iam::<i>{account-id}</i>:user/<i>example-user-id</i> \
231+
--permissions CREATE_TABLE DESCRIBE ALTER DROP \
232+
--resource '{ "Database": { "Name": "<i>iceberg_demo_db</i>" } }'
229233
(.venv) $ aws lakeformation grant-permissions \
230234
--principal DataLakePrincipalIdentifier=arn:aws:iam::<i>{account-id}</i>:user/<i>example-user-id</i> \
231235
--permissions SELECT DESCRIBE ALTER INSERT DELETE DROP \
232-
--resource '{ "Table": {"DatabaseName": "iceberg_demo_db", "TableWildcard": {}} }'
236+
--resource '{ "Table": {"DatabaseName": "<i>iceberg_demo_db</i>", "TableWildcard": {}} }'
233237
</pre>
234238

235239
8. Run glue job to load data from Kinesis Data Streams into S3

0 commit comments

Comments
 (0)