DeleteWorkloadIdentity fails with ValidationException

Aperta
#2,534 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, cloud

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
TypeScript
Stelle
339
Fork
129
Merge medio
19h 21m
PR unite (30g)
125

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/agentcore-cli

Tutte le issue di aws/agentcore-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.