Class: Lono::Seed::Configs
- Defined in:
- lib/templates/blueprint/seed/configs.rb
Overview
This is an optional class is used by ‘lono seed [blueprint]` to create starter configs. Example files that get created:
configs/BLUEPRINT/params/LONO_ENV.txt
configs/BLUEPRINT/variables/LONO_ENV.rb
The ‘Lono::Seed::Configs` class should implement:
setup: Hook to perform logic at the beginning. A good place to create IAM service roles.
variables: Template for generated variables file. Contents of what gets created at
configs/[blueprint]/variables/development.rb
Note: There is no need to define a params method. Lono is able to generate a params config starter file by evaluating the template defintion.
Method Summary
Methods inherited from Base
#check_dsl_type!, #create_param_file, #create_params, #create_variables, #default_value, #description_example, #finish, #initialize, #optional, #parameters, #params, #required, #run, #setup, #template_type, #variables, #write
Methods included from Conventions
Methods included from AwsServices
#cfn, #ec2, #iam, #s3, #s3_presigner, #s3_resource, #sts
Methods included from AwsServices::Util
#find_stack, #rollback_complete?, #stack_exists?, #testing_update?
Methods included from Blueprint::Root
#bundler_groups, #find_blueprint_root, #require_bundle_gems, #set_blueprint_root
Constructor Details
This class inherits a constructor from Lono::Seed::Base