You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support specify s3 object ACL args for remote logging #8917
Description
Support specify s3 object ACL args for remote logging, like 'bucket-owner-full-control'
Use case / motivation
We are deploying an airflow server in the client's AWS server, using EC2 instance role(cross account) send logging to our S3 bucket. We want to specify ACL arg "bucket-owner-full-control" to grant owner permission on logs.
I suspect this is already possible given S3Hook has the acl_policy parameter for many of its methods.
Yep parameter in hook exists but remote logging still do not have configurations options and implementations for that ¯\_(ツ)_/¯
update: Since Airflow 2.7 we have an options for create documented configurations for providers, might be this is a good time to move all provider specific remote logging options to the providers, and keep only remote-logging and remote-base-log-folder and maybe some other in [logging]. @eladkal@potiuk WDYT?
@o-nikolas maybe also could interested because this particular one affected Amazon Provider.
Activity
boring-cyborg commentedon May 20, 2020
Thanks for opening your first issue here! Be sure to follow the issue template!
RNHTTR commentedon Sep 4, 2023
I suspect this is already possible given S3Hook has the
acl_policyparameter for many of its methods.Taragolis commentedon Sep 4, 2023
Yep parameter in hook exists but remote logging still do not have configurations options and implementations for that
¯\_(ツ)_/¯update: Since Airflow 2.7 we have an options for create documented configurations for providers, might be this is a good time to move all provider specific remote logging options to the providers, and keep only remote-logging and remote-base-log-folder and maybe some other in
[logging]. @eladkal @potiuk WDYT?@o-nikolas maybe also could interested because this particular one affected Amazon Provider.