Commit 1e7b2f1
fix: add missing ecs:TagResource permission for ECS tasks (#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 #656
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent b4630f1 commit 1e7b2f1
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 | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
| 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