Pass the task role ARN to tasks cloned for config restarts
Pass the task role ARN to tasks cloned for config restarts

When we cloned a task definition, applications would never start
with the new config -- instead, they'd continually restart, with
CloudWatch errors saying they didn't have permission to load their
config files from S3.

It turns out that task definitions don't inherit the task role of
the parent task unless explicitly supplied.  This patch ensures
our applications have the correct permissions when restarted for
a config change.

wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api