shalupov / idea-cloudformation

AWS CloudFormation plugin for IntelliJ-based IDEs (IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio, DataGrip, CLion)
https://teamcity.jetbrains.com/viewType.html?buildTypeId=IdeaAwsCloudFormation_Master_Build&guest=1
Apache License 2.0
136 stars 27 forks source link

Description is not recognised in intellij #110

Closed FlemmingBehrend closed 6 years ago

FlemmingBehrend commented 6 years ago

Creating a yaml template using the plugin in IntelliJ gives the following error in descriptions in resources:

image

I think the problem is in the src/main/kotlin/com/intellij/aws/cloudformation/model/CfnResourceNode.kt, it seams Description is missing.

https://github.com/shalupov/idea-cloudformation/blob/b0ff8e677b322f2ce11a6f496932dc1f53d2bddb/src/main/kotlin/com/intellij/aws/cloudformation/model/CfnResourceNode.kt#L3-L8

shalupov commented 6 years ago

Could you point me to Cloud Formation documentation? For description I only see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-description-structure.html and it's not under resource

FlemmingBehrend commented 6 years ago

You are right it is only for template, don't know how I can miss that, but thanks for pointing it out 👍

I will close this issue and delete my Description field 😺