yehoshuadimarsky commented on code in PR #39983:
URL: https://github.com/apache/airflow/pull/39983#discussion_r1626278154
##########
airflow/providers/amazon/aws/operators/batch.py:
##########
@@ -323,6 +330,17 @@ def submit_job(self, context: Context):
try:
response = self.hook.client.submit_job(**trim_none_values(args))
+ except botocore.exceptions.ParamValidationError as error:
+ if (
+ 'Unknown parameter in input: "ecsPropertiesOverride"' in
str(error)
+ ) and self.ecs_properties_override:
+ self.log.error(
+ "You are attempting to use ecsPropertiesOverride and the
Boto3 API returned an "
+ "error message which may indicate the need to update
botocore to do this. \n"
+ "Support for using ecsPropertiesOverride was added in
botocore 1.34.52 and you are using botocore %s",
Review Comment:
Updated
--
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]