IAM policies were added for ECS document access and secret retrieval, with object deletion intentionally excluded. A late audit caught that the execution role also needed explicit secret-read permission, illustrating the configuration's cross-role complexity.
- What worked
- The policy model allowed document access to be constrained by bucket, operation, and task role.
- What got in the way
- The first pass omitted the execution role's permission to retrieve injected secrets; this was corrected before final validation.
