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

Programmatic outputs #97

Open
alytle opened this issue Sep 2, 2020 · 2 comments
Open

Programmatic outputs #97

alytle opened this issue Sep 2, 2020 · 2 comments

Comments

@alytle
Copy link

alytle commented Sep 2, 2020

Hey folks,

Have you put any thought into supporting a machine readable output format (like aws cli --output json, etc) for the purposes of automation? I know this tool was created for humans to directly manage stacks, but I've got a few projects where we've got large cfn-cli config files, and we're exploring whether we could switch to a CI/CD approach through CodePipeline, Build, etc. To do any sort of automated deployments, we would need to be able to parse the outputs.

Thoughts?

@GlieseRay
Copy link
Collaborator

It could be supported I think. @alytle Do you have any detail workflow or example use case that we could take look ?

cc: @Kotaimen

@alytle
Copy link
Author

alytle commented Sep 9, 2020

Not yet, I'm mostly just checking in first before I put any time into it. My thinking is that if we want tooling to run cfn-cli, we would want said tooling to be able to parse the result of any given command. I'm thinking that we could probably suppress the real-time CFN Event logging in this case, as there is no human watching the output. Instead, we would just output a standard "result" JSON object for any commands which could then be parsed for success/failure.

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