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


   Actually, it looks like this is sorted.  As of Airflow 2.0 there is an 
operator parameter to allow illegal arguments:  
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#allow-illegal-arguments
   
   @andormarkus - my test environment is currently broken so I can't test it, 
but can you try adding `allow_illegal_argument = True` (or perhaps 
ALLOW_ILLEGAL_ARGUMENTS??) to the operator and see if that does it for you?
   
   ```
   create_nodegroup = EKSCreateNodegroupOperator(
       task_id='create_eks_nodegroup',
       cluster_name=cluster_name,
       nodegroup_name=node_group_name,
       nodegroup_subnets=get_subnets(),
       nodegroup_role_arn=get_node_role(),
       amiType = "BOTTLEROCKET_x86_64",
       instanceTypes = "t3.large",
       capacityType = "ON_DEMAND",
       allow_illegal_argument = True
   )
   ```


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