Properties validation failed with message extraneous key is not permitted

Viewed 14142
1 Answers

Despite the docs using camel case linuxParameters, AWS has suddenly started enforcing capitalization.

The fix is to capitalize the first letter, ie use LinuxParameters instead.

Note that this applies to nested properties as well, eg initProcessEnabled would result in

#/ContainerDefinitions/0/LinuxParameters: extraneous key [initProcessEnabled] is not permitted

So you would have to use InitProcessEnabled.

Related