aws-cloudformation / aws-cloudformation/cloudformation-cli-typescript-plugin
Provide stackId in ResourceHandlerRequest
- 主要言語
- TypeScript
- スター
- 46
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
調査の方向性
まず、プラグイン内で ResourceHandlerRequest と BaseResource をたどり、次に create、update、delete イベントで stack の識別情報がどのように公開されているかを比較します。既存の ARN 処理について systemTags の経路を確認します。ResourceHandlerRequest が削除中も含めて stackId を提供し、利用側がベースライブラリをコピーする必要がなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, node.js, typescript
- 領域
- backend-api-design
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100