Coder Social home page Coder Social logo

keyboarddrummer / cloudformation-ide-tooling Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 1.0 41.26 MB

Rich editor tooling for CloudFormation Templates for various editors such as Visual Studio Code

License: MIT License

TypeScript 43.59% Scala 51.87% HTML 1.30% JavaScript 3.23%

cloudformation-ide-tooling's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

brianterry

cloudformation-ide-tooling's Issues

AWS::EKS::Nodegroup is missing

I'm getting errors while trying to use this resource.

The error message is:
Could not find definition of AWS::EKS::Nodegroup

And there are several other error after it but they are all in the same clause.

failed to install the tool

Hi,
I followed the direction to install the tool using "sbt languageServerJVM/fastvscode"
steps:
1- I installed sbt ver 1.3.10
2- ran sbt languageServerJVM/fastvscode
3- sbt ended with errors
[error] Expected ';'
[error] languageServerJVM/fastvscode^
4- the tool is not working in VSCode as it does in the browser

please advise

Proposal: File extension should at least allow for .cfn.yaml/json

AWS uses CF as the abbreviation for CloudFront and CFN for CloudFormation, so it would make sense to at least allow for that extension as well. How do you feel about adding these (.cfn.yaml & .cfn.json) as secondary (/primary) file extensions for the VSCode plugin?

An alternative would be to give people the freedom to change the extensions, but I'm not sure if that's possible.

How to configure custom file extension?

Hello,

All my Cloud Formation templates have the file extension .template. How can I configure this plugin to support that case?

In settings I just see this:
obraz
Which by the way is misleading as well, because instead of the plugin name CloudFormation IDE there is just CloudFormation - when you have several plugins it's hard to figure out which setting belong to which plugin.

I installed the tool and created a .cfn.yaml file but no IDE features appear

Steps I've taken:

  1. Install the CloudFormation IDE via the Extensions tab in VSCode
  2. Create hello_world.cfn.yaml
  3. Make sure the file type in the bottom right corner is CloudFormation YAML
  4. Started typing CloudFormation directiver in the file

Expected: the CF IDE to "kick in"
Actual: Just got normal YAML syntax highlighting.

I must be missing something really simple...

aws properties not updated (using VSCode extension)

for example, get "could not find definition" for:

  • Tags in AWS::EC2::EIP
  • LogFormat, MaxAggregationInterval, Tags in AWS::EC2::FlowLog

For new resources, it says "getting code actions from CloudFormation IDE and it never completes:

  • Example Resource: Type: AWS::AuditManager::Assessment,

java.lang.OutOfMemoryError and maxed out CPU usage

Very interested in using this project, but when I opened it for an existing template I had, it started maxing out all my CPU (on a MacBook Pro 2017) and then crashing with an OutOfMemoryError.

Here is the zipped template file: app-environment.cfn.yaml.zip
Here are the logs:

[INFO] Found built-in jar.
[INFO] Using Miksilo mode JVM at /Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/bin/java with jar /Users/username/.vscode/extensions/keyboarddrummer.vscode-cloudformation-0.0.21/out/CloudFormationLanguageServer.jar
[INFO] Connection time was 2353
[INFO] Creating caching parser for uri file:///Users/username/projects/path/app-environment.cfn.yaml

[ERROR] Notification handler failed with: java.lang.OutOfMemoryError: Java heap space
 Stack trace:java.lang.OutOfMemoryError: Java heap space
	at miksilo.editorParser.parsers.editorParsers.ParseResults$.singleResult(ParseResults.scala:61)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult.flatMapReady(ReadyParseResult.scala:57)
	at miksilo.editorParser.parsers.editorParsers.ParseResults.$anonfun$flatMapReady$1(ParseResults.scala:48)
	at miksilo.editorParser.parsers.editorParsers.ParseResults$$Lambda$521/0x0000000800e67040.apply(Unknown Source)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:94)
	at miksilo.editorParser.parsers.editorParsers.SRCons.$anonfun$flatMap$1(ParseResults.scala:106)
	at miksilo.editorParser.parsers.editorParsers.SRCons$$Lambda$527/0x0000000800e6a040.apply(Unknown Source)
	at miksilo.editorParser.parsers.editorParsers.SRCons.tail$lzycompute(ParseResults.scala:78)
	at miksilo.editorParser.parsers.editorParsers.SRCons.tail(ParseResults.scala:78)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.SRCons.flatMap(ParseResults.scala:100)
	at miksilo.editorParser.parsers.editorParsers.ParseResults.mapResult(ParseResults.scala:26)
	at miksilo.editorParser.parsers.editorParsers.ParseResults.mapResult$(ParseResults.scala:25)
	at miksilo.editorParser.parsers.editorParsers.SRCons.mapResult(ParseResults.scala:64)
	at miksilo.editorParser.parsers.editorParsers.ParseResults.mapWithHistory(ParseResults.scala:39)
	at miksilo.editorParser.parsers.editorParsers.ParseResults.mapWithHistory$(ParseResults.scala:37)
	at miksilo.editorParser.parsers.editorParsers.SRCons.mapWithHistory(ParseResults.scala:64)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult.$anonfun$mapWithHistory$1(ReadyParseResult.scala:47)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult$$Lambda$559/0x0000000800e7f040.apply(Unknown Source)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult.getResults(ReadyParseResult.scala:39)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult.$anonfun$flatMapReady$1(ReadyParseResult.scala:58)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult$$Lambda$550/0x0000000800e79c40.apply(Unknown Source)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult.getResults(ReadyParseResult.scala:39)
	at miksilo.editorParser.parsers.editorParsers.DelayedParseResult.$anonfun$mapReady$1(ReadyParseResult.scala:52)

I also tested out the demo template that you have here: https://keyboarddrummer.github.io/cloudformation-ide-tooling/yaml.html
It worked perfectly fine, so my only guess is that the size of my template (only 37 resources) was too much to handle, or maybe there was some sort of accidental infinite loop that ate up all the CPU and Heap?

Let me know if there's any more info needed to help debug, as I'd really love to be able to use this, it seems super sleek!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.