Method: Enscalator::Templates::VPCPeering#read_vpc_route_tables

Defined in:
lib/enscalator/templates/vpc_peering.rb

#read_vpc_route_tables(vpc) ⇒ Object



70
71
72
73
74
75
76
# File 'lib/enscalator/templates/vpc_peering.rb', line 70

def read_vpc_route_tables(vpc)
  routes = []
  vpc.route_tables.each do |rt|
    routes << rt
  end
  routes
end