Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Don't convert to name when group is declared in id format #21

Merged
merged 1 commit into from
Mar 2, 2016

Conversation

eagletmt
Copy link
Contributor

@eagletmt eagletmt commented Mar 2, 2016

Suppose you have Groupfile like below.

ec2 'vpc-xxxxxx' do
  security_group 'test' do
    description 'test'

    ingress do
      permission :tcp, 80..80 do
        groups('sg-xxxxxx')
      end
    end
  end
end

In this case, sg-xxxxxx should not be converted to its name.

Suppose you have Groupfile like below.

```ruby
ec2 'vpc-xxxxxx' do
  security_group 'test' do
    description 'test'

    ingress do
      permission :tcp, 80..80 do
        groups('sg-xxxxxx')
      end
    end
  end
end
```

In this case, `sg-xxxxxx` should not be converted to its name.
winebarrel pushed a commit that referenced this pull request Mar 2, 2016
Don't convert to name when group is declared in id format
@winebarrel winebarrel merged commit df0b1f3 into codenize-tools:v0.2.9 Mar 2, 2016
@winebarrel
Copy link
Collaborator

Thanks!

@eagletmt eagletmt deleted the no-decode-sg branch January 20, 2017 03:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants