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
How can AWS CloudFormation help? #177
Comments
Hi Chetan, This isn't Troposphere-specific, but I'd really like a new intrinsic function added to the effect of |
@robzienert, Thank you for the feedback. |
Hi Chetan, In thinking of ways the CloudFormation team and service could help us I've tried to bucket it into some major themes: Awareness
Keep updated
Accuracy and Thoroughness
Any help the CloudFormation team wants to give us would be appreciated. This could be giving us advance warning on changes, contributing to the project and/or helping to promote it. Thanks, |
Thank you @markpeek @bobveznat @phobologic, we will loook into this. |
Can you elaborate on / provide an example of what the release notes leave to be desired? |
As an example, let's take the most recent release notes here which states:
Following the link included goes here in which we then need to figure out which properties were actually added. A good guess is the "OptionGroupName" and "StorageType" properties. A couple of points:
Some release note entries are more explicit than others, for example, the ELB ConnectionSettings in that same release note. Also, there are sometimes documentation updates that do not appear to be mentioned in the release notes which makes it difficult to track those changes. I hope this helps to elaborate what we do to track the CloudFormation changes from the release notes. |
Thanks for the additional information, Mark. If we were to provide a "machine readable specification" what kind of format would you like to see that in? |
That question is always an interesting debate. Right now the two main formats would be XML and JSON. I might lean towards JSON given the use of it in CloudFormation and the (perceived) trend from AWS to use more JSON than XML (for example, botocore/aws-cli being data driven from JSON). |
Would a (json-schema.org) based CloudFormation schema be suitable for you or would you prefer a different JSON-based format for any reason? |
I had not intended to be prescriptive in what format to use since it is really up to AWS to define and maintain it. But yes, the (json-schema.org) based CloudFormation schema looks like a fine direction. |
Appreciate you making that distinction between a requirement and a prescription, Mark :-). We listen to our customers and partners, so just wanted to hear your opinion on what kinds of format would work best for you. |
BTW, some resource types might be trickier to document than others. I was just looking at issue #197 and I'm seeing discrepancies in the docs. Some examples:
Note: in some ways having a new resource type of AWS::RDS::DBInstanceReplica might make it easier to distinguish and specify the correct properties. In other words, then there could be less conditionals and more "required" fields. |
AWS could provide troposphere source files for existing sample templates in addition to json. |
Just another example where I'm sure documented changes would help so much: GH-210 I don't think we got ElasticBeanstalk totally wrong when it was accepted, so my guess is that things changed drastically at some point. Since nobody on the Cloudtools org uses ElasticBeanstalk much, we don't notice these changes. |
I'm just gonna say this... part of the reason this project started was people hate (I don't use that word lightly) hand coding JSON. It is a format that can be written by humans, but is very much a machine format. YAML is significantly easier for a human to read and write and most of all, it supports comments. If anything were to increase the adoption of CloudFormation, accepting a template written in YAML would be it. Other than that, simply acquire and integrate CloudCoreo or Luminal :-P |
:) |
@markpeek @bobveznat @phobologic picking back up on this after a while of radio silence. We appreciate what you guys do. We're happy to help keep the channel open and help out in anyway. We're working on a schema BTW so stay tuned. |
Thanks @domdivakaruni ! |
Troposphere contributors and users,
Is there anything the AWS CloudFormation service could provide that can help in using and enhancing troposphere? (For example, any additional API, any update to the template format, etc.)
Sincerely,
The AWS CloudFormation Team
The text was updated successfully, but these errors were encountered: