Firelens tasks must only be configured with user="0"
why
If one submits a firelens-enabled task definition with user=null, AWS replaces the value with "0". This causes Terraform to repeatedly try to fix the discrepancy.
~ user = "0" -> null
Additionally, attempting to set the user to any value other than "0" (or null) is an error:
~ user = "0" -> "root"
...
Error: ClientException: If 'user' field is specified on firelens container, then 'UID' has to be '0'.
what
Firelens tasks must only be configured with
user="0"
why
If one submits a firelens-enabled task definition with
user=null
, AWS replaces the value with"0"
. This causes Terraform to repeatedly try to fix the discrepancy.Additionally, attempting to set the
user
to any value other than"0"
(or null) is an error: