Open JohnPreston opened 4 years ago
Hi @JohnPreston, thanks for the request. It does look like it was requested a while back (#2937) but I'm going to investigate it further!
--cli-input-json
is a parameter for a lot of awscli commands - I'd argue that's what's needed for aws cloudformation deploy
.
aws cloudformation create-stack
and aws cloudformation update-stack
do allow for --cli-input-json
, but they require a different format than CodePipeline can use. The parameter/tag formats for aws cloudformation deploy
line up better with the format expected for CodePipeline files, though.
Sorry if that is already opened elsewhere
I create CFN Template Configuration files (Parameters, StackPolicies, Tags etc.) to deploy stacks with CodePipeline. I would like to be able to run
aws cloudformation create-stack
oraws cloudformation deploy
and input that file for API parameters.Describe the solution you'd like
aws cloudformation create-stack --config-file file://config.json
Additional context Reference: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-cfn-artifacts.html