class TerraBoi::TfLibGenerator
Constants
- TEMPLATES
Attributes
application_name[RW]
class_options[RW]
Public Instance Methods
create_ecr()
click to toggle source
# File lib/generators/terra_boi/tf_lib_generator.rb, line 49 def create_ecr TEMPLATES.each do |dir, file_arr| file_arr.each do |filename| template "lib/#{dir}/#{filename}.erb", "terraform/lib/#{dir}/#{filename}" end end end
init()
click to toggle source
# File lib/generators/terra_boi/tf_lib_generator.rb, line 43 def init # defined in lib/generators/extensions self.application_name = generate_application_name self.class_options = options end