Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aws::AutoScaling::AutoScalingGroup#tags doesn't return tag values in collection #1145

Closed
kayvonghaffari opened this issue Mar 29, 2016 · 3 comments
Labels
feature-request A feature should be added or improved.

Comments

@kayvonghaffari
Copy link
Contributor

I'm running into an issue where my AutoScalingGroup object isn't return the tag values when I call #tags on it. The values, however, are present when I call #data on the AutoScalingGroup object. I can use data to perform what I need for now -- just thought I'd create an issue.

##
# Using #data
asg = Aws::AutoScaling::Resource.new(region: 'us-east-1')
a = asg.group('example-group')
a.data[:tags]
=> [#<struct Aws::AutoScaling::Types::TagDescription resource_id="example-group", resource_type="auto-scaling-group", key="cluster:name", value="test2", propagate_at_launch=true>]

##
# Using #tags
a.tags.to_a
=> [#<Aws::AutoScaling::Tag key="podbay:cluster", resource_id="example-group", resource_type="auto-scaling-group">]
@awood45 awood45 added information requested feature-request A feature should be added or improved. and removed information requested labels Mar 29, 2016
@awood45
Copy link
Member

awood45 commented Mar 29, 2016

I can see what you're talking about, and taking this on as a feature request to add to the resource model.

@awood45
Copy link
Member

awood45 commented Mar 29, 2016

If you'd like, we'd also happily take a pull request that adds this to the resource model.

@awood45
Copy link
Member

awood45 commented Jun 3, 2016

Added to feature request backlog.

@awood45 awood45 closed this as completed Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

2 participants