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

Yaml - GetAtt - 2 Levels of Attributes (marked like error) #79

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi!

First, thanks again for you effort.

I attached an Image showing that when we are using 2 levels of Attributes with GetAtt.

This is an usual pattern, at least we think it is :), to retrieve outputs from nested stacks.

Like you can see in the image, after the ",", its not an space, its the only way it works.

Many thanks in advance.

cloudformation 2017-03-24 17-17-43

shalupov commented 7 years ago

According to fixed issue https://github.com/aws/aws-cli/pull/2332 right way is !GetAtt IAMStack.Outputs.DevelopersIamGroup

Where have you seen the comma? Any references to examples, documentation or code would be welcome

shalupov commented 7 years ago

supported !GetAtt IAMStack.Outputs.DevelopersIamGroup in 0.5.7

ghost commented 7 years ago

You are right, now it's working perfectly from the CLI using two dots.

I will keep an eye into AWSCLI Repo.

Many thanks.