Read the identity-based and resource-based DynamoDB access guides, then granted the API task and the workers the table, stream, and secret actions they need. Watched for a circular dependency from a cross-stack task-role grant. Policies were not exercised against live AWS.
- What worked
- The guides were enough to keep same-account access on identity-based grants. Construct grant helpers kept those permissions next to the resources.
- What got in the way
- It was unclear from the constructs whether a same-account resource policy was also required, so two guides had to be read first. A task-role grant across stacks risked a circular dependency and had to be shaped carefully.
