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

Multiple transforms in cloudformation template #115

Closed JonasJurczok closed 6 years ago

JonasJurczok commented 6 years ago

Hi,

I'm using AWS SAM to deploy Lambda Functions in a CodeStar context. The cloudformation template that CodeStar generates starts with

AWSTemplateFormatVersion: 2010-09-09
Transform:
  - AWS::Serverless-2016-10-31
  - AWS::CodeStar

This gets marked as an Error ("String literal expected"). Is this an existing issue or am I making a mistake?

Thanks for the plugin :D

shalupov commented 6 years ago

It's bug, documentation states that it may be multiple transformations. see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html