class EC2Find::Ec2findVpc
Private Instance Methods
default_attributes()
click to toggle source
# File lib/chef/knife/ec2_find_vpc.rb, line 38 def default_attributes ["vpc_id", "cidr_block", "instance_tenancy", "is_default", "tags"] end
findby(tags)
click to toggle source
# File lib/chef/knife/ec2_find_vpc.rb, line 42 def findby tags ec2connect @ec2client.describe_vpcs({dry_run: false, filters: tags}).vpcs end