Comments (17)
So based on #75 it looks like AWS are working on something.
In a couple of other threads I noticed some talk about introducing a major new version with some breaking changes. If we do want to go down this path we may want to delay or not (since timing is unknown). Or alternatively introduce some changes to the DSL in preparation.
The reason I bring it up is that when I tried to create the DSL dynamically based on the existing schema, one of the major headaches was some of the non-standard bits we have in the DSL. They add a lot of extra use cases to the code and some of them were very difficult if not impossible to support.
I'd need to dive back in to remember what the issues were but I do remember them being really painful :)
Based on others thoughts on what approach we want to take I could dive in a bit further and drag out the key points.
from cfndsl.
Issue opened in against aws-toolkit-eclipse: aws/aws-toolkit-eclipse#14
from cfndsl.
[If this helps]
I had a tough time making this plugin work [cloudscripting].
Problem occurs when we have proxy setup or when there is an html response by proxy(or internal servers) asking for business justification to connect to schema.
The fix I did was to open the schema in browser first [provide justification ]and then reopen eclipse.
Thanks.
from cfndsl.
I've been having a go at trying to use this to generate the DSL.
Some initial work at https://github.com/johnf/cfndsl/tree/new_types
It's sort of getting there but I'm not really happy with it.
I'm trying to be really general to try and support everything but I think that approach makes the code to hard.
Will try and find a balance next time I get to it.
from cfndsl.
@stevenjack see my previous comment. I've made some good progress but there is still a fair amount of work to make this work properly.
Is this something others see value in? I don't want to spend more time on it unless people think it's a good idea.
Also raise questions around Heat support as it will still have to work the old way. Is anyone using cfndsl to manage Heat or should it be deprecated?
from cfndsl.
@stevenjack any thoughts here?
from cfndsl.
bump
from cfndsl.
@stevenjack bump
I'd be keen to see this happen.
from cfndsl.
@kornypoet can you please weigh in on this? I'd be keen to see this happen so we don't have to maintain the types.yaml file.
from cfndsl.
I like the idea of this. Things we gain:
- No longer have to support code changes to update
types.yaml
- Offload support for keeping compatibility up to date
- Potentially large support base for maintaining the schema
Things we lose:
- The schema is now an outside dependency. We would have to version against it somehow to be able to mitigate any bugs introduced.
- We are now bound to another repo's update and release schedule. Right now our turnaround on type updates is pretty quick. It might be much longer when the code is not under our control.
The best solution would be to have AWS publish their schema in a machine ingestible format as described here. That thread has dried up without a real answer though. I can go either way on this one. As long as we, and the cfndsl
community know the tradeoffs.
from cfndsl.
My thinking along being able to add our own functionality where AWS is slow is to so say have a subdirectory of files in the same format, that we add for new features. Simply deep merge them in before processing, then blow them away once upstream includes them.
from cfndsl.
We really need a true source of truth. Reading this: fungusakafungus/cloudformation-jsonschema#10 (comment) is a bit of a worry :(
from cfndsl.
The eclipse SDK is out of date. See issue #75.The service team is definitely aware of the need for a schema. I'll post updates there if/when I am able.
from cfndsl.
@johnf It would be really interesting to hear about which points they are. If you don't mind taking the time to list them, that would be really great.
from cfndsl.
Moving to #257
from cfndsl.
Everyone interested in this should check out and provide feedback at #264
from cfndsl.
Closing in favour of AWS Cloudformation Schema
from cfndsl.
Related Issues (20)
- gitter.im link is broken (gives 404 not found) HOT 2
- Where should we define custom helper methods? HOT 1
- Possible regressions 0.17.5 -> 1.0.0 HOT 8
- Resources ["Foo"] refer to unknown Reference AWS::Partition HOT 4
- Typo in README examples
- CloudFrontOriginAccessIdentity is an undefined method HOT 4
- Issue with DSL generation from cli arguments HOT 1
- unknown type AWSResourceGroupsGroupJson HOT 1
- Shorthand method of accessing resource attributes via FnSub fails reference checks HOT 1
- Outdated assertion in Readme HOT 1
- SecurityGroupIngress is always an array - 1.1.1 HOT 2
- Task: Generate types from CloudFormation resource registry schemas
- Freeze specifications version HOT 2
- Allow ruby versions until eol
- Missing Support for the TimeZone property of AWS::AutoScaling::ScheduledAction HOT 1
- List ItemType in the specification file breaking template generation with spec version 69.0.0 HOT 1
- AWS::CloudFormation::Interface HOT 4
- Missing AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping HOT 2
- Undefined method `Name' for `CfnDsl::AWS::Types::AWS_SSM_Association` HOT 8
- Jsonable calls System.exit instead of raising exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfndsl.