aws-cloudformation / aws-cloudformation/cloudformation-cli-typescript-plugin
Provide stackId in ResourceHandlerRequest
- Langage dominant
- TypeScript
- Étoiles
- 46
- Forks
- 18
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par suivre ResourceHandlerRequest et BaseResource à travers le plugin, puis comparez la manière dont l’identité de la stack est exposée dans les événements create, update et delete. Vérifiez le chemin systemTags pour le traitement existant des ARN. Le travail est terminé lorsque ResourceHandlerRequest fournit stackId, y compris pendant la suppression, sans obliger les consommateurs à copier la bibliothèque de base.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, node.js, typescript
- Domaine
- backend-api-design
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100