(deploy) cdk deploy: show outputs descriptions in --outputs-file output
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- aws, typescript
Direzione di ricerca
Non sono indicati file di implementazione né test. Inizia individuando la gestione CLI di cdk deploy --outputs-file e la serializzazione esistente degli outputs, quindi determina come sono disponibili le descrizioni degli outputs degli stack durante la generazione. Il lavoro è completato quando un’opzione documentata emette la struttura proposta key/value/description senza modificare il formato predefinito corrente, con copertura per entrambe le modalità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 110
- Fork
- 138
- Merge medio
- 1g 9h
- PR unite (30g)
- 55
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws/aws-cdk-cli
-
aws-cdk bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
aws/aws-cdk-cli#2179 ·
I maintainer di solito rispondono entro 1 giorno
-
(cli): deploy waits forever when an AWS API call gets no response, because requestTimeout only logs a warningForse già presa @abhiramshaji-cyber l’ha presa 27 giorni fa. Apertaaws-cdk bug p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
aws/aws-cdk-cli#2097 ·
I maintainer di solito rispondono entro 1 giorno
-
(bootstrap) FilePublishingRoleDefaultPolicy permission incorrect when FileAssetsBucketKmsKeyId is an ARN valueForse già presa @lemon0333 l’ha presa 95 giorni fa. Apertabug p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
aws/aws-cdk-cli#921 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
(garbage-collection): cdk gc takes hours on a large bootstrap bucketForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
aws/aws-cdk-cli#2165 ·
I maintainer di solito rispondono entro 1 giorno
-
(cli): cdk flags --set always reports no template differences before applying flagsForse già presa @go-to-k l’ha presa 9 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws/aws-cdk-cli#2153 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di aws/aws-cdk-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
volcengine/OpenViking#8432 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
jupyterlab/eslint-plugin#178 · 2 commenti ·
-
bug from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
nightly-labs/openbot#16303 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100