Skip to content

0.30.0: Override task role

Compare
Choose a tag to compare
@nitrocode nitrocode released this 22 Jun 22:06
e91b008

what

Overriding the task role arm instead of the module creating a new task role

why

  • When moving an ecs service and task over to this module, there may already be a task role present. If there is already a task role present, we shouldn't have to create a new one, then use the outputs to grab the arn, and attach policies to it. It should be able to reuse an existing role.
  • An import of the existing role as the new role also wouldn't work due to the name change which will cause a removal and recreation

references

#58