Commit 115ddf6
fix: add missing ecs:TagResource permission for ECS tasks (serverless-operations#657)
When using serverless-step-functions to deploy ECS tasks with tags, the auto-generated
IAM policies were missing the ecs:TagResource permission. This caused Step Functions
executions to fail with an AccessDeniedException when attempting to tag ECS tasks.
This commit adds the ecs:TagResource permission to the getEcsPermissions function,
allowing ECS tasks to be properly tagged during execution.
Fixes serverless-operations#656
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 1be8227 commit 115ddf6
File tree
2 files changed
+3
-3
lines changed- lib/deploy/stepFunctions
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
1654 | | - | |
| 1654 | + | |
1655 | 1655 | | |
1656 | 1656 | | |
1657 | 1657 | | |
| |||
2694 | 2694 | | |
2695 | 2695 | | |
2696 | 2696 | | |
2697 | | - | |
| 2697 | + | |
2698 | 2698 | | |
2699 | 2699 | | |
2700 | 2700 | | |
| |||
0 commit comments