You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/11 00:11:08 UTC

[GitHub] [airflow] khilawar4 commented on a change in pull request #15727: templatize_awsconnectionid

khilawar4 commented on a change in pull request #15727:
URL: https://github.com/apache/airflow/pull/15727#discussion_r629760349



##########
File path: airflow/providers/amazon/aws/operators/cloud_formation.py
##########
@@ -67,9 +67,11 @@ class CloudFormationDeleteStackOperator(BaseOperator):
     :type params: dict
     :param aws_conn_id: aws connection to uses
     :type aws_conn_id: str
+         (Adding this param to template_fields so that it can be overriden using jinja template from Dags
+         This feature can be useful if user wants to update/override the aws_conn_id for some kind of Dag Isolation etc)
     """
 
-    template_fields: List[str] = ['stack_name']
+    template_fields: List[str] = ['stack_name' , 'aws_conn_id']

Review comment:
       its added




-- 
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:
users@infra.apache.org