We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47a287 commit d126e79Copy full SHA for d126e79
backend/src/iac/backend-stack.ts
@@ -192,6 +192,15 @@ export class BackendStack extends cdk.Stack {
192
}),
193
);
194
195
+ // Add Amazon Bedrock permissions for model invocation
196
+ taskRole.addToPolicy(
197
+ new iam.PolicyStatement({
198
+ effect: iam.Effect.ALLOW,
199
+ actions: ['bedrock:InvokeModel'],
200
+ resources: ['*'],
201
+ }),
202
+ );
203
+
204
// Task Definition with explicit roles
205
const taskDefinition = new ecs.FargateTaskDefinition(
206
this,
0 commit comments