diff --git a/airflow/providers/amazon/aws/transfers/sftp_to_s3.py b/airflow/providers/amazon/aws/transfers/sftp_to_s3.py index 546c4710267b..00663f93b66c 100644 --- a/airflow/providers/amazon/aws/transfers/sftp_to_s3.py +++ b/airflow/providers/amazon/aws/transfers/sftp_to_s3.py @@ -52,7 +52,7 @@ class SFTPToS3Operator(BaseOperator): if False streams file from SFTP to S3. """ - template_fields: Sequence[str] = ("s3_key", "sftp_path") + template_fields: Sequence[str] = ("s3_key", "sftp_path", "s3_bucket") def __init__( self,