aws-cloudformation / rain

A development workflow tool for working with AWS CloudFormation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display the config file (Parameters and Tags) of an existing stack

vjeantet opened this issue · comments

Hello ,

I am an frequent user of Rain for managing our AWS CloudFormation stacks in production. I have identified a potential enhancement that I believe could improve the user experience of Rain.

Proposed Feature:
I suggest adding a feature that allows users to easily view the tags and parameters values of an existing CloudFormation stack directly through Rain. This feature would allow to output and format it to match the rain config file used with the deploycommand.

Currently, retrieving these details can be somewhat cumbersome, often requiring additional AWS CLI commands or using the AWS console and formating them in your text editor.

Proposed Implementation:
Enhance the cat command by introducing a --config parameter. This parameter would display the current values of the stack's parameters and tags, formatted similarly to the input configuration used by the deploy command.

I'm working in my fork on this feature, if you are ok i can create a pull request linked to this feature request.

Note :
For those of you who are reading this and just want to view the existing parameters, it's already possible using the rain ls -a <stack> command like :

rain ls -a my-stack-name