You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a Fargate service in one stack, and S3 buckets in another. I am trying to add a policy to the buckets to allow access from the task, however CDK complains that I need to physically name my service's task taskRole to use it across stacks.
Is that what I should do, or is there a better / easier way to allow Get/Put access to the S3 buckets from the service task?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am creating a Fargate service in one stack, and S3 buckets in another. I am trying to add a policy to the buckets to allow access from the task, however CDK complains that I need to physically name my service's task taskRole to use it across stacks.
Is that what I should do, or is there a better / easier way to allow Get/Put access to the S3 buckets from the service task?
The policy code looks like this:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions