Module: Awspec::Helper::Finder::Eks

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/eks.rb

Instance Method Summary collapse

Instance Method Details

#find_eks_cluster(name) ⇒ Object



4
5
6
7
# File 'lib/awspec/helper/finder/eks.rb', line 4

def find_eks_cluster(name)
  res = eks_client.describe_cluster({ name: name })
  res.cluster
end