Commit d0de793
committed
fixed the enableFaultInjection error.
The Issue: The describe-task-definition command returns some internal AWS fields (like enableFaultInjection) that are not allowed when you try to register a new version of the task definition.
The Fix: I updated the workflow to use jq to remove these "read-only" fields (enableFaultInjection, status, taskDefinitionArn, etc.) from the task-definition.json file before using it.1 parent 13f1d96 commit d0de793
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments