setting up s3 for logs in airflow

后端 未结 7 1622
后悔当初
后悔当初 2020-11-27 05:50

I am using docker-compose to set up a scalable airflow cluster. I based my approach off of this Dockerfile https://hub.docker.com/r/puckel/docker-airflow/

My problem

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 06:31

    You need to set up the s3 connection through airflow UI. For this, you need to go to the Admin -> Connections tab on airflow UI and create a new row for your S3 connection.

    An example configuration would be:

    Conn Id: my_conn_S3

    Conn Type: S3

    Extra: {"aws_access_key_id":"your_aws_key_id", "aws_secret_access_key": "your_aws_secret_key"}

提交回复
热议问题