potiuk commented on issue #19372:
URL: https://github.com/apache/airflow/issues/19372#issuecomment-971445094


   Unfortunately, I do not know too much about this operator, but passing 
parameters this way seems completely wrong.
   
   When you look at the code of the operator  
https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/operators/eks.py#L278
   
   It just uses those parameters - and you are trying to pass some new ones.
   
   ```
           eks_hook.create_nodegroup(
               clusterName=self.cluster_name,
               nodegroupName=self.nodegroup_name,
               subnets=self.nodegroup_subnets,
               nodeRole=self.nodegroup_role_arn,
           )
   
   ```
   
   Again - I do not know how to pass those parameters ( I do not know EKS, but 
either those should be passed somehow using the existing parameters in this 
call, or the operator needs to be extended to support more parameters.
   
   Closing this as invalid as this is not a bug, ideally if you find a way how 
to pass it - maybe you could improve the docs of the operator, or if some 
changes are needed, a PR with adding more parameters is most welcome.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to