feluelle commented on a change in pull request #7461: [AIRFLOW-XXXX] Update
write-logs.rst, add instructions for logging to localstack S3
URL: https://github.com/apache/airflow/pull/7461#discussion_r381149240
##########
File path: docs/howto/write-logs.rst
##########
@@ -110,6 +110,11 @@ To enable this feature, ``airflow.cfg`` must be
configured as follows:
In the above example, Airflow will try to use ``S3Hook('MyS3Conn')``.
+If you are using LocalStack to emulate Amazon S3, you must create this entry
in airflow admin console:
+- Conn Id: MyS3Conn
+- Conn Type: S3
+- Extra: `{"host": "http://localstack:4572"}`
+
Review comment:
```
You can also use `LocalStack <https://localstack.cloud/>`_ to emulate Amazon
S3 locally.
To configure it, you only need to explicitly set the endpoint url. So that
it points to your local stack. You can do this via the Connection Extra
``host`` field.
For example: ``{"host": "http://localstack:4572"}``
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services