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

AutoScalingGroupName property not recognised. #128

Closed gchiesa closed 6 years ago

gchiesa commented 6 years ago

in the resource type: AWS::AutoScaling::AutoScalingGroup the property Properties.AutoScalingGroupName is not recognised.

here an example:

    "AutoScalingGroup": {
      "Type": "AWS::AutoScaling::AutoScalingGroup",
      "Properties": {
        "VPCZoneIdentifier": [
          { "Ref": "PublicSubnetA" },
          { "Ref": "PublicSubnetB" },
          { "Ref": "PublicSubnetC" }
        ],
        "AutoScalingGroupName": "TestName",
        "Cooldown": "120",
        "LaunchConfigurationName": { "Ref": "LaunchConfiguration" },
        "TerminationPolicies": [ "OldestLaunchConfiguration" ],
        "TargetGroupARNs": [ { "Ref": "TargetGroup443" } ],
        "HealthCheckType": "ELB",
        "HealthCheckGracePeriod": "720",
        "MinSize": { "Fn::FindInMap": [ "My", { "Ref": "Environment" }, "MinSize" ] },
        "MaxSize": { "Fn::FindInMap": [ "My", { "Ref": "Environment" }, "MaxSize" ] },
        "DesiredCapacity": { "Fn::FindInMap": [ "My", { "Ref": "Environment" }, "DesiredCapacity" ] },
        "Tags": [
          {
            "Key": "Name", "Value": { "Fn::Sub": [ "${Environment}-${RoleName}", { "Environment": { "Ref": "Environment" }, "RoleName": { "Ref": "RoleName" } } ] },
            "PropagateAtLaunch": "true"
          },
          {
            "Key": "Environment",
            "Value": { "Ref": "Environment" },
            "PropagateAtLaunch": "true"
          }
        ]
      }
    }
shalupov commented 6 years ago

Which plugin version and IDE is it? I've checked plugin >= 0.5.53 supports it

gchiesa commented 6 years ago

you right, the latest plugin version solve the issue. Thanks.