Support existing IAM roles for runtime container-build infrastructure
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- aws, typescript
- Área
- cloud, devops, infrastructure, security
Línea de trabajo
Start by tracing the agentcore add runtime command through its configuration handling, then inspect the @aws/agentcore-cdk runtime and container-build integration. Use agentcore.json to verify that supplied ARNs persist through build and deploy operations, and identify where shared CodeBuild configuration is validated. Done means all three supplied roles are imported without permission changes, omitted roles still trigger automatic creation, conflicts are rejected clearly, and tests and required trust/permission documentation are added.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
agentcore add runtime --role-arn supports an existing runtime execution role. Container deployments still create two additional roles: a CodeBuild execution role and a Lambda execution role for the container-build handler.
This blocks container deployments in environments where IAM roles must be provisioned centrally.
Allow users to supply these roles when adding a runtime. Proposed flag names:
agentcore add runtime \
--name myAgent \
--language python \
--role-arn <runtime-role-arn> \
--container-build-role-arn <codebuild-role-arn> \
--container-build-handler-role-arn <lambda-role-arn>
Persist the ARNs in agentcore.json and expose equivalent configuration in @aws/agentcore-cdk.
Import supplied roles without modifying their permissions. Preserve automatic role creation when the options are omitted.
Acceptance Criteria
- Supplying all three roles produces no IAM roles or policies for the runtime or its container-build infrastructure.
- The configuration survives subsequent build and deploy operations.
- Shared CodeBuild infrastructure handles supplied roles consistently across runtimes and rejects conflicting configuration clearly.
- Documentation specifies required trust relationships and permissions for each role.
- Tests cover supplied roles, default role creation, and conflicting shared-build configuration.
Additional Context
This covers runtime container-build infrastructure. CDK bootstrap remains a separate prerequisite for environments that prohibit role creation.
- Lenguaje dominante
- TypeScript
- Estrellas
- 320
- Forks
- 109
- Merge medio
- 18 h 29 min
- PR fusionados (30 d)
- 172
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aws/agentcore-cli
-
`agentcore dev` container fails with LoginTokenLoadError when using `aws login` credentialsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
aws/agentcore-cli#2606 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
aws/agentcore-cli#2538 ·
Los mantenedores suelen responder en 1 día
-
[Refactor] project add credentials payment does not match Connector regexPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
aws/agentcore-cli#2533 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
ci: skip CI jobs for release commitsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
aws/agentcore-cli#2392 ·
Los mantenedores suelen responder en 1 día
-
bug documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
aws/agentcore-cli#1241 ·
Los mantenedores suelen responder en 1 día
Todos los issues de aws/agentcore-cli
Issues similares
-
e2e-failure ready-to-code
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
redhat-developer/rhdh-plugin-export-overlays#4616 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
ai-handle
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nextlevelbuilder/dewee-web-v2#73 ·
Los mantenedores suelen responder en 1 día
-
backend bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
PoCInnovation/Distribox#255 ·
Los mantenedores suelen responder en 1 día