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
Cloudformation external parameter file do not support YAML file #2275
Comments
Hi, we currently don't have any plans to support YAML as part of the command line arguments. I will mark this as a feature request as I can see how it might be useful for some people. The contents of the the file you provide to --parameters is loaded and dumped straight in as an argument so you can only have the file contents be in one of two formats:
|
I'll second this feature request. |
I'll second it too |
+1 |
Please. This is critical for us. |
+1 |
absolutely +1 |
+1 allowing YAML formatted data for |
👍 |
3 similar comments
+1 |
+1 |
+1 |
since you can provide a template in yaml, you should be able to provide the parameters in yaml too |
+1 |
+100 |
+1 |
+100 |
+1 |
" https://gist.github.com/mbailey/2f7c878eed123cab6fb125117f35aecc |
+1 |
9 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
still waiting on XML support |
+100 - would like yaml too |
Commenting to get notified when this get merged |
+1 for YAML support. This issue has been open for 5 years, 8 months, 17 days as of this comment. Documentation (like this) for toolkits that use the AWS CLI still claim YAML support, too. |
+1 |
+1 for YAML support. |
+1. I really hope this gets taken up. |
6 years passed and still no action taken |
lol im still following this.. I ended up using https://github.com/mikefarah/yq btw for anyone who hasnt adopted a similar process... |
Is this still being considered? Seems like a lost cause. The only way out seems like mixing markups to use JSON and YAML, or , use the yq package as mentioned by @matthewflannery and @davegallant |
I pinged AWS support about this issue, and just got the standard response about how "we are aware of this, but we provide no ETA on new features". In fairness, what else are they going to say, I guess? Maybe there's some technical reason that this is harder to accomplish than it seems. I can't come up with any other reason why this has been ignored for 6+ years. |
Hi all, thanks for your patience. We understand your frustration regarding issues like this that stay open for years. Unfortunately issues involving the CloudFormation customization are not getting prioritized at the moment. The individuals who originally owned this customization have since left the team or have gone on to work on the AWS SAM CLI (which may offer some of the functionality requested in issues in this repository). I've tried to get more attention on these issues but it is challenging when the ownership is in limbo. I think some more internal coordination is required to form a plan moving forward. In the meantime I encourage anyone interested in seeing a feature implemented to 👍 the issue and comment if you have additional information to share regarding a use case. If anyone wants to try creating a PR to implement feature requests like this, you can refer to the CONTRIBUTING.rst guide. |
@tim-finnigan thank you! Even if it might not be what we’d like to hear, I really appreciate you taking the time to reply and give some info about what’s happening. |
I would very much like the option to write my parameter files in YAML. |
@tim-finnigan , Is there any hope to have YAML support in 2023? |
+1 for YAML support. |
I'm happy to try implementing this. 👀 ... |
@tim-finnigan @aBurmeseDev @RyanFitzSimmonsAK I've submitted a PR for this #8133. Let me know if I've missed anything Screencast.from.25-08-23.18.45.15.webm |
Add a comment in the main section for the given time format and main section catalogue in the straining the main input in the issues just get open the repository. |
I used aws-cli to update my stacks, and want to use an external yaml file (dev.yaml) as parameters file like below:
aws cloudformation update-stack --stack-name test --template-body file://./api-test.yaml --parameters file://./dev.yaml
In
dev.yaml
, it only has:However, I got this Error message when I run the update command above:
If I use JSON file with same context as below, and use it instead of
dev.yaml
, it works fine:So, can the external parameters file for aws cloudformation be YAML file? or will...?
The text was updated successfully, but these errors were encountered: