aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.48k stars 4.11k forks source link

Pipe template to cloudformation deploy #2504

Open dtimberlake opened 7 years ago

dtimberlake commented 7 years ago

Are there any plans to allow for a template to be piped into the cloudformation deploy command? This would allow us to avoid an intermediate template between package and deploy.

I don't mind creating a pull request, just don't want to put the work if y'all don't plan on supporting this or if you have someone else working on it.

Thanks!

jamesls commented 7 years ago

Seems reasonable, I've noticed this myself. What would you propose for the interface, a new --stdin flag that's mutually exclusive with --template-file?

dtimberlake commented 7 years ago

I can see it going one of two ways:

  1. making a new --stdin flag
  2. checking for piped stdin or a filled in --template-file flag in the _run_main method of the command; this would necessitate --template-file no longer being a required parameter of the cli.

I think option 2 would be the most natural for developers.

ASayre commented 6 years ago

Good Morning!

We're closing this issue here on GitHub, as part of our migration to UserVoice for feature requests involving the AWS CLI.

This will let us get the most important features to you, by making it easier to search for and show support for the features you care the most about, without diluting the conversation with bug reports.

As a quick UserVoice primer (if not already familiar): after an idea is posted, people can vote on the ideas, and the product team will be responding directly to the most popular suggestions.

We’ve imported existing feature requests from GitHub - Search for this issue there!

And don't worry, this issue will still exist on GitHub for posterity's sake. As it’s a text-only import of the original post into UserVoice, we’ll still be keeping in mind the comments and discussion that already exist here on the GitHub issue.

GitHub will remain the channel for reporting bugs.

Once again, this issue can now be found by searching for the title on: https://aws.uservoice.com/forums/598381-aws-command-line-interface

-The AWS SDKs & Tools Team

jamesls commented 6 years ago

Based on community feedback, we have decided to return feature requests to GitHub issues.

felixbuenemann commented 6 years ago

I would suggest supporting the special file name - eg. --template-file - to read from stdin.

bsideup commented 4 years ago

Can't wait to celebrate 3 years since this issue was created 😅

felds commented 3 years ago

@bsideup how about 4? 😌

oshribr commented 2 years ago

@jamesls Any update on this issue?

teocns commented 1 year ago

6 be it