seanghaeli commented on code in PR #66972:
URL: https://github.com/apache/airflow/pull/66972#discussion_r3245036827
##########
providers/amazon/tests/system/amazon/aws/example_s3_tables.py:
##########
@@ -87,7 +90,7 @@ def create_namespace(table_bucket_arn: str, namespace: str):
put_policy = S3TablesPutTableBucketPolicyOperator(
task_id="put_table_bucket_policy",
table_bucket_arn=create_table_bucket.output,
- resource_policy='{"Version":"2012-10-17","Statement":[]}',
+
resource_policy=f'{{"Version":"2012-10-17","Statement":[{{"Sid":"TestPolicy","Effect":"Allow","Principal":{{"AWS":"arn:aws:iam::{account_id}:root"}},"Action":"s3tables:GetTable","Resource":"*"}}]}}',
Review Comment:
Not sure about that, fails on my end without populating the Statement field
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]