-
Notifications
You must be signed in to change notification settings - Fork 26
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
Invalid type for parameter Filters[0] when filtering for tags #108
Comments
Hi, try it like this: This will return all instances with a tag Cheers, |
Hi @winem, It seems that it doesn't work either with this syntax, now I have these error messages :
I'm trying to call it directly with The command I'm running is the following :
Thanks ! Best regards |
Hi, can't test it right now but as far as I remember Filters need to be an array, too. So wrap the filter in If that's not working either I'll try to find some time test it later today. |
Hi,
I will try to dig deeper in the code too, maybe I will find something interesting. Thanks for your help ! |
Please post your current filter again. Is it |
My filter is : |
Ok, I've found out what's wrong. I have modified the I will edit it in order to have multiples values for a key, and I will do a pull request. Best regards |
Has this gone anywhere? What is the current way to implement filters or is this just simply broke? I've tried every way I can think of.
|
I think Values is an array. I'm not using AWS pack, but the AWS_boto3 pack, and with that I have:
So that would imply that you might want to try: |
Hey @amanda11,
|
Has anyone poked further at this? I am running into the same issue when trying to use |
So just for the record here. I got this to work.... The problem being the single quotes. The filter I used looked sort of like this:
|
Hello,
I have a problem with the ec2_describe_instances action.
Calling the action without any filter works well, however I would need to only get instances with a specific tag.
I tried adding the Filters parameter like this :
Filters=tag:Name=test-instance
however, it crashes at botocore as it need to have a dict instead of a string.I've also tried to write the filter like a dict (with { and }), but it seems that the parameter is always casted to a string, which breaks the functionality.
Here is the full stack trace :
Do you know if I'm using the Filters parameter wrong, or is there any other problem ?
Thanks in advance for your help !
Best regards
The text was updated successfully, but these errors were encountered: