Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vjeantet opened this issue Jan 13, 2024 · 0 comments
Closed

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

vjeantet opened this issue Jan 13, 2024 · 0 comments

Comments

@vjeantet
Copy link
Contributor

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
vjeantet added a commit to vjeantet/rain that referenced this issue Jan 13, 2024
* add --config option to cat command
* add ConfigFromStack in the dc package, which returns a yaml string containing the tags and parameters of the given stack
* add tests for dc.ConfigFromStack

related to aws-cloudformation#237
ericzbeard added a commit that referenced this issue Jan 17, 2024
Display the config file (Parameters and Tags) of an existing stack #237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants