class EC2Find::Ec2findRtb

Private Instance Methods

default_attributes() click to toggle source
# File lib/chef/knife/ec2_find_rtb.rb, line 38
def default_attributes
  ["route_table_id","vpc_id","routes","associations","tags"]
end
findby(tags) click to toggle source
# File lib/chef/knife/ec2_find_rtb.rb, line 42
def findby tags
  ec2connect
  @ec2client.describe_route_tables({dry_run: false, filters: tags}).route_tables
end