ksmolyanin opened a new issue, #54918:
URL: https://github.com/apache/airflow/issues/54918

   ### Description
   
   Hi! I use the Airflow feature to store logs on S3.
   
   I am currently using the `path-style` by setting the `endpoint_url` 
separately in the connection parameters and the bucket name in the variable 
`AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER`.
   
   I also have to set `AWS_S3_PATH_STYLE_ACCESS="true"` for the boto3 library.
   
   So my settings look like this
   
   ````
   export AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER="s3://my-bucket"
   
   airflow connections add my-conn --conn-type aws --conn-extra "{\
              ...
               \"endpoint_url\": \"https://s3.example.com\";,
           }"
   ````
   
   I would prefer to use a `vhost-style` URL, for example 
"https://my-bucket.s3.example.com"; but I can't find a way to configure Airflow 
to use S3 in this mode.
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to