Task-role permissions for model invoke and the workflow were declared in the infrastructure code. The synthesized template included those permissions. No policy was applied to a live account, and no simulator or access-denied response was observed.
- What worked
- Declaring permissions beside the workflow kept the model invoke right on the API task role and made that grant visible in the template.
