Kelvin DeCosta
11/11/2022, 1:32 PMECSTask block uses the boto3 ecs client to call run_task with some arguments that it derives based on the input attributes.
The agent log, if set with DEBUG log level, shows the exact arguments that are passed to this function.
I figured that since the failure happens almost instantly after this message, it had to be this call that was causing the fatal error.
Fortunately, when I emulated the call via a python script, I ran into this error:
botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) when calling the RunTask operation: Some tags contain invalid characters. Valid characters: UTF-8 letters, spaces, numbers and _ . / = + - : @.
So, if you have deployments that use the ECSTask infrastructure block, make sure you only use the following characters in the flow and deployment names: UTF-8 letters, spaces, numbers and _ . / = + - : @
I'd rather not restrict flow / deployment names, so if there are workarounds to this problem, I'd really appreciate it.Christopher Boyd
11/11/2022, 4:48 PMKelvin DeCosta
11/16/2022, 8:59 AM