Class: Awspec::Generate

Inherits:
Thor
  • Object
show all
Defined in:
lib/awspec/command/generate.rb

Instance Method Summary collapse

Instance Method Details

#iam_policyObject



26
27
28
29
# File 'lib/awspec/command/generate.rb', line 26

def iam_policy
  load_secrets
  puts Awspec::Generator::Spec::IamPolicy.new.generate_all
end

#route53_hosted_zone(hosted_zone) ⇒ Object



20
21
22
23
# File 'lib/awspec/command/generate.rb', line 20

def route53_hosted_zone(hosted_zone)
  load_secrets
  puts Awspec::Generator::Spec::Route53HostedZone.new.generate_by_domain_name(hosted_zone)
end