aws-cloudformation / aws-cloudformation/cloudformation-cli-typescript-plugin
Provide stackId in ResourceHandlerRequest
- Lingua principale
- TypeScript
- Stelle
- 46
- Fork
- 18
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It would be really useful to have the `stackId` in the `ResourceHandlerRequest` alongside the `logicalResourceIdentifier`. This also allows us to track where a resource is created so that if someone in a different stack tries to create the same resource we can provide an error saying that a different stack has it, and which one.
The ARN is available on create and update events in the `systemTags`, but not delete events. We need to tidy up our resource ownership registry when a resource is deleted so also need it at that point.
We've worked around its absence by copying chunks of this library into our own project and switching out the BaseResource for our own copy but it would be much easier if it were in the base library.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando ResourceHandlerRequest e BaseResource attraverso il plugin, quindi confronta il modo in cui l’identità dello stack viene esposta negli eventi create, update e delete. Controlla il percorso systemTags per la gestione esistente degli ARN. Il lavoro è completato quando ResourceHandlerRequest fornisce stackId, anche durante l’eliminazione, senza richiedere ai consumer di copiare la libreria di base.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, node.js, typescript
- Ambito
- backend-api-design
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100