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

DescribeInstances #31

Open
PerfectedApp opened this issue Oct 22, 2012 · 4 comments
Open

DescribeInstances #31

PerfectedApp opened this issue Oct 22, 2012 · 4 comments
Assignees

Comments

@PerfectedApp
Copy link

How does one do a filter on DescribeInstances?

ec2("DescribeInstances", { F: 'tag-key=Env' } ?

@ghost ghost assigned bigeasy Oct 23, 2012
@bigeasy
Copy link
Collaborator

bigeasy commented Oct 23, 2012

Here's an example of filters.

ec2('DescribeVolumes', { 'Filter.1.Name': 'status', 'Filter.1.Value.1': 'in-use' }, function (error, body) {
  if (error) throw error;
  console.log(body);
});

@bigeasy
Copy link
Collaborator

bigeasy commented Oct 24, 2012

Did that work for you?

@PerfectedApp
Copy link
Author

Haven't checked it yet. I'll get back to you asap. Thanks for your help!

@bigeasy
Copy link
Collaborator

bigeasy commented Oct 24, 2012

No rush. Let me know if there is a problem with that. My working copy of Node EC2 has some progress that I've yet to commit to the GitHub repository, but I believe this bit is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants