keyboarddrummer / cloudformation-ide-tooling Goto Github PK
View Code? Open in Web Editor NEWRich editor tooling for CloudFormation Templates for various editors such as Visual Studio Code
License: MIT License
Rich editor tooling for CloudFormation Templates for various editors such as Visual Studio Code
License: MIT License
I am assuming that ImageScanningConfiguration is not yet configured with this IDE for the AWS::ECR::Repository resource, as I get 'Could not find definition of ImageScanningConfiguration' when I use it in my CloudFormation template.
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.
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
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.
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:
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.
Steps I've taken:
hello_world.cfn.yaml
CloudFormation YAML
Expected: the CF IDE to "kick in"
Actual: Just got normal YAML syntax highlighting.
I must be missing something really simple...
for example, get "could not find definition" for:
For new resources, it says "getting code actions from CloudFormation IDE and it never completes:
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.