(deploy) cdk deploy: show outputs descriptions in --outputs-file output
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- aws, typescript
調査の方向性
実装ファイルやテストは指定されていません。まず cdk deploy --outputs-file の CLI 処理と既存の outputs のシリアライズを見つけ、次に生成中に stack output の説明がどのように利用可能になるかを確認してください。ドキュメント化されたオプションによって、現在のデフォルト形式を変更せずに提案された key/value/description 構造が出力され、両方のモードがカバレッジされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the feature
Currently, the cdk deploy --outputs-file outputs.json option enables writing the generated outputs to a file, in the format:
{ STACK_NAME: { KEY: VALUE } }
The information related to the description of the stack outputs items is lost.
It would be useful to keep this information, for example to auto-generate an UI starting from the outputs.
To do this, I suggest to extend the interface with another option, for example cdk deploy --outputs-file outputs.json --outputs-file-with-descriptions, generating the format:
{ STACK_NAME: [ {"key": KEY, "value": VALUE, "description": DESCRIPTION} ] }
In other words, each stack should contain a list of dictionaries with the key/value/description fields.
Currently it is not possible to get the description information, if not looking up in the cloudformation.
Use Case
The description field would be useful to convey the information of each output items in a human readable format.
For example you might use it to auto-generate a UI (either textual or graphical).
Currently it is possible to achieve this by querying cloudformation, but this implies more operations while this information should be already available when the outputs file is generated in the first place.
Proposed Solution
I suggest to extend the cdk deploy CLI with some new option.
It might either be:
cdk deploy --outputs-file outputs.json --outputs-file-with-descriptions
or:
cdk deploy --outputs-file outputs.json --outputs-file-mode include-descriptions
probably the latter being more extensible.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.178
Environment details (OS name and version, etc.)
not relevant since it is OS independent
- 主要言語
- TypeScript
- スター
- 110
- フォーク
- 138
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 55
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/aws-cdk-cli のほかの issue
-
aws-cdk bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/aws-cdk-cli#2179 ·
メンテナーはふだん 1 日以内に返信
-
(cli): deploy waits forever when an AWS API call gets no response, because requestTimeout only logs a warning対応中かも @abhiramshaji-cyber が 27 日前に担当しました。 オープンaws-cdk bug p2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/aws-cdk-cli#2097 ·
メンテナーはふだん 1 日以内に返信
-
(bootstrap) FilePublishingRoleDefaultPolicy permission incorrect when FileAssetsBucketKmsKeyId is an ARN value対応中かも @lemon0333 が 95 日前に担当しました。 オープンbug p2
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
aws/aws-cdk-cli#921 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
(garbage-collection): cdk gc takes hours on a large bootstrap bucket対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
aws/aws-cdk-cli#2165 ·
メンテナーはふだん 1 日以内に返信
-
(cli): cdk flags --set always reports no template differences before applying flags対応中かも @go-to-k が 9 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
aws/aws-cdk-cli#2153 ·
メンテナーはふだん 1 日以内に返信
aws/aws-cdk-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
volcengine/OpenViking#8432 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
jupyterlab/eslint-plugin#178 · コメント 2 件 ·
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightly-labs/openbot#16303 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100