Bjorn Olsen created AIRFLOW-6654:
------------------------------------

             Summary: AWS DataSync - bugfix when creating locations
                 Key: AIRFLOW-6654
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6654
             Project: Apache Airflow
          Issue Type: Bug
          Components: aws
    Affects Versions: 1.10.7
            Reporter: Bjorn Olsen
            Assignee: Bjorn Olsen


If a Location does not exist it will attempt to be created, when creating an 
AWS Datasync task. However this should only happen if the appropriate 
create_kwargs where provided - otherwise creation should not be attempted and 
instead an error should be produced.

 

This is currently not happening, below log indicates a source location was 
missing and DataSync operator tried to create it. However no kwargs were 
provided so instead it should just immediately fail.

The log message is also a bit hard to understand and can be improved.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to