(deploy) cdk deploy: show outputs descriptions in --outputs-file output
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- aws, typescript
Línea de trabajo
No se nombran archivos de implementación ni pruebas. Empieza localizando el manejo de la CLI para cdk deploy --outputs-file y la serialización existente de los outputs; después determina cómo están disponibles las descripciones de los outputs de los stacks durante la generación. Se considera terminado cuando una opción documentada emite la estructura propuesta de key/value/description sin cambiar el formato predeterminado actual, con cobertura para ambos modos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 110
- Forks
- 138
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 55
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aws/aws-cdk-cli
-
aws-cdk bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
aws/aws-cdk-cli#2179 ·
Los mantenedores suelen responder en 1 día
-
(cli): deploy waits forever when an AWS API call gets no response, because requestTimeout only logs a warningPosiblemente ocupada @abhiramshaji-cyber la tomó hace 27 días. Abiertoaws-cdk bug p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
aws/aws-cdk-cli#2097 ·
Los mantenedores suelen responder en 1 día
-
(bootstrap) FilePublishingRoleDefaultPolicy permission incorrect when FileAssetsBucketKmsKeyId is an ARN valuePosiblemente ocupada @lemon0333 la tomó hace 95 días. Abiertobug p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
aws/aws-cdk-cli#921 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
(garbage-collection): cdk gc takes hours on a large bootstrap bucketPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
aws/aws-cdk-cli#2165 ·
Los mantenedores suelen responder en 1 día
-
(cli): cdk flags --set always reports no template differences before applying flagsPosiblemente ocupada @go-to-k la tomó hace 9 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
aws/aws-cdk-cli#2153 ·
Los mantenedores suelen responder en 1 día
Todos los issues de aws/aws-cdk-cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
volcengine/OpenViking#8432 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
jupyterlab/eslint-plugin#178 · 2 comentarios ·
-
bug from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
nightly-labs/openbot#16303 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100