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

Already on GitHub? Sign in to your account

DescribeInstances #31

Open
PerfectedTech opened this Issue Oct 22, 2012 · 4 comments

Comments

Projects
None yet
2 participants

How does one do a filter on DescribeInstances?

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

@ghost ghost assigned bigeasy Oct 23, 2012

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);
});
Collaborator

bigeasy commented Oct 24, 2012

Did that work for you?

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

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