Method: Awspec::Type::EksNodegroup#subnets

Defined in:
lib/awspec/type/eks_nodegroup.rb

#subnetsObject



61
62
63
64
# File 'lib/awspec/type/eks_nodegroup.rb', line 61

def subnets
  ec2_instances = find_nodes
  Set.new(ec2_instances.map { |ec2| ec2.subnet_id })
end