aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.1k stars 4.01k forks source link

cli-input-json support for `aws cloudformation deploy` #5448

Open hauntingEcho opened 3 years ago

hauntingEcho commented 3 years ago

Is your feature request related to a problem? Please describe. Currently, aws cloudformation deploy does not accept cli-input-json.

Describe the solution you'd like Being able to pass the same configuration file to both CodePipeline and aws cloudformation deploy --cli-input-json (edit: defined here)

Describe alternatives you've considered Currently we are maintaining both the input file for codepipeline deployment and a shell script to call aws cloudformation deploy with the necessary parameters.

kdaily commented 3 years ago

Hi @hauntingEcho,

Thanks for the comment. I'm wondering if some pending improvements to the CloudFormation deploy operation would solve your use case:

https://github.com/aws/aws-cli/pull/5443

hauntingEcho commented 3 years ago

my understanding is that that PR only affects the behavior of --parameter-overrides, and does not support the 'tags' or 'StackPolicy' section of a template configuration file: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-cfn-artifacts.html

github-actions[bot] commented 2 years ago

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

hauntingEcho commented 2 years ago

This is still an issue.

tim-finnigan commented 2 years ago

I think there is overlap here with this request: https://github.com/aws/aws-cli/issues/5316