aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

Pipe template to cloudformation deploy

Open dtimberlake opened this issue 9 years ago • 9 comments

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!

dtimberlake avatar Mar 21 '17 20:03 dtimberlake

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?

jamesls avatar Mar 24 '17 16:03 jamesls

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.

dtimberlake avatar Mar 24 '17 18:03 dtimberlake

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

ASayre avatar Feb 06 '18 10:02 ASayre

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

jamesls avatar Apr 06 '18 20:04 jamesls

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

felixbuenemann avatar May 14 '18 18:05 felixbuenemann

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

bsideup avatar Feb 21 '20 11:02 bsideup

@bsideup how about 4? 😌

felds avatar Jun 07 '21 22:06 felds

@jamesls Any update on this issue?

oshribr avatar Apr 19 '22 13:04 oshribr

6 be it

teocns avatar Sep 26 '23 10:09 teocns