DeleteWorkloadIdentity fails with ValidationException

Abierto
#2,534 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, cloud

Línea de trabajo

Two requests in one issue: start by locating where DeleteWorkloadIdentity is invoked in the AgentCoreCLI codebase and where runtime deletion is handled, to see why linked identities are rejected and where a cascade could hook in. Separately, open the @aws/agentcore-cdk package and find AgentEcrRepository / AgentEcrRepositoryProps to see where the KMS key is hardcoded. Done means a documented deletion path for runtime-owned identities and encryption/encryptionKey props exposed, verified by the package's existing tests or a new one.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

DeleteWorkloadIdentity fails with ValidationException 'WorkloadIdentity is linked to a service and cannot be deleted by the caller' for identities created by AgentCore Runtime, and deleting a runtime does not remove its identity, so orphans accumulate with no cleanup path (we have 102). Please cascade deletion with the runtime or allow owner deletion. (2) @aws/agentcore-cdk AgentEcrRepository hardcodes a per-repo customer managed KMS key with enableKeyRotation true and AgentEcrRepositoryProps offers no opt out. ECR AES256 and aws/ecr are free and aws/ecr rotates annually, so this adds USD 1/month per repo plus USD 2/month more after two rotations for no benefit. ECR encryption is immutable after creation so there is no remediation. Please expose encryption and encryptionKey as props. Still present in 0.1.0-alpha.46.

Version: AgentCoreCLI/0.22.0 (darwin 25.5.0; node/v22.13.0)

Lenguaje dominante
TypeScript
Estrellas
339
Forks
129
Merge medio
19 h 21 min
PR fusionados (30 d)
125

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de aws/agentcore-cli

Todos los issues de aws/agentcore-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.