Class: Lono::Seed::Configs
- Inherits:
-
Base
- Object
- AbstractBase
- Base
- 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
#create_param_file, #create_params, #create_variables, #description_example, #finish, #generate_template, #initialize, #parameter_line, #params, #run, #setup, #variables
Methods included from ServiceRole
Methods included from AwsServices
#cfn, #ec2, #iam, #s3, #s3_presigner, #s3_resource, #sts
Methods included from AwsServices::Helper
#rollback_complete?, #testing_update?
Methods included from AwsServices::StackSet
#find_stack_set, #stack_set_exists?
Methods included from AwsServices::Stack
Methods inherited from AbstractBase
#initialize, #reinitialize, #template_path
Methods included from Blueprint::Root
#find_blueprint_root, #set_blueprint_root
Constructor Details
This class inherits a constructor from Lono::Seed::Base