mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 06:10:49 +08:00
add: iam construct
This commit is contained in:
@ -64,7 +64,7 @@ export class EcsIAM extends Construct {
|
||||
this.backendTaskRole.addToPolicy(BedrockPolicyStatement);
|
||||
|
||||
// FrontEnd Task ExecutionRole
|
||||
this.frontendTaskExecutionRole = new iam.Role(this, 'TaskExecutionRole', {
|
||||
this.frontendTaskExecutionRole = new iam.Role(this, 'frontendTaskExecutionRole', {
|
||||
assumedBy: new iam.ServicePrincipal('ecs-tasks.amazonaws.com'),
|
||||
managedPolicies: [
|
||||
{
|
||||
@ -78,7 +78,7 @@ export class EcsIAM extends Construct {
|
||||
const secretsDB = props.rdsCluster.secret!;
|
||||
|
||||
// BackEnd Task ExecutionRole
|
||||
this.backendTaskExecutionRole = new iam.Role(this, 'TaskExecutionRole', {
|
||||
this.backendTaskExecutionRole = new iam.Role(this, 'backendTaskExecutionRole', {
|
||||
assumedBy: new iam.ServicePrincipal('ecs-tasks.amazonaws.com'),
|
||||
managedPolicies: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user