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


   Hi @ferruzzi 
   
   None of them worked.
   
   `allow_illegal_argument = True`
   ```shell
   Broken DAG: [/opt/airflow/dags/eks.py] Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/models/baseoperator.py",
 line 188, in apply_defaults
       result = func(self, *args, **kwargs)
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/models/baseoperator.py",
 line 535, in __init__
       raise AirflowException(
   airflow.exceptions.AirflowException: Invalid arguments were passed to 
EKSCreateNodegroupOperator (task_id: create_eks_nodegroup). Invalid arguments 
were:
   **kwargs: {'amiType': 'BOTTLEROCKET_x86_64', 'instanceTypes': 't3.large', 
'capacityType': 'ON_DEMAND', 'allow_illegal_argument': True}
   ```
   
   `AIRFLOW__OPERATORS__ALLOW_ILLEGAL_ARGUMENTS: 'true'`
   I have requested `t3.large` got `t3.medium` and the AMI is off as well
   <img width="1601" alt="Screen Shot 2021-11-17 at 08 41 43" 
src="https://user-images.githubusercontent.com/51825189/142156989-4b87756c-d7c1-45a7-ad9d-458427c1f0e7.png";>
   
   


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