-
Notifications
You must be signed in to change notification settings - Fork 108
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
Tags cannot be fetched for aws_ecs_service
table
#2388
Comments
Hello @thomasklemm, I attempted to replicate the issue in our environment but was unable to reproduce the error. Every time I ran the query, I successfully retrieved the expected results. Query Output: > select service_name, tags_src, tags from aws_ecs_service;
+-----------------+-------------------------------------------------------------+-----------------------------+
| service_name | tags_src | tags |
+-----------------+-------------------------------------------------------------+-----------------------------+
| test-53-service | [{"Key":"help","Value":"me"},{"Key":"foo1","Value":"bar1"}] | {"foo1":"bar1","help":"me"} |
+-----------------+-------------------------------------------------------------+-----------------------------+
Time: 2.0s. Rows returned: 0. Rows fetched: 1. Hydrate calls: 1.
Scans:
1) aws_ecs_service.aws: Time: 0.9s. Fetched: 1. Hydrates: 1.
Could you please provide more details on the reproduction steps so I can better investigate the issue?
Looking forward to your insights! 🚀 |
@ParthaI This is happening for older version of ecs. which could be approx 2019 or older. so it was using the long version of arns |
Hey @kaushikkishore, Could you please share the ARN format used in the older version of ECS? Isn't it the same as: Also, does AWS support multiple ARN formats for ECS services? Would love to get clarity on this. Thanks! |
Adding the documents given by the amazon here for clarity. Here they have mentioned that what is current arn and what would be the new ARN. ![]() https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids |
Oh, Thanks @kaushikkishore, for the clarification. Will push a fix by addressing this issue! |
…listing tags for older services. Closes #2388
Hello @kaushikkishore / @thomasklemm, I have pushed a fix in the PR branch However, I could not test it as our environment does not have any older services. It would be greatly appreciated if you could test the changes in the PR branch and share your feedback. Thank you for your time and support! |
@ParthaI Great, would try it out! Is there a way build in to |
To use the plugin from the branch, cloning the repository and running Here are the steps to do so:
|
Describe the bug
Steampipe version (
steampipe -v
)Steampipe v1.0.2
Plugin version (
steampipe plugin list
)hub.steampipe.io/plugins/turbot/aws@latest | 1.5.0
To reproduce
Expected behavior
Tags for
aws_ecs_service
should get returned like for other tables.Additional context
None
The text was updated successfully, but these errors were encountered: