Skip to content

Commit

Permalink
Preserve executionRoleArn when updating a task def
Browse files Browse the repository at this point in the history
The new `executionRoleArn` top-level attribute needs to be preserved
when updating a task definition. Otherwise it's not possible to update
task definitions that contain secrets.
  • Loading branch information
rohansingh committed May 31, 2019
1 parent 32c0769 commit 79acb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const WRITABLE_TASK_DEF_PARAMS = [
'placementConstraints',
'volumes',
'taskRoleArn',
'executionRoleArn',
];

// ECS resource ARN format:
Expand Down

0 comments on commit 79acb2e

Please sign in to comment.