in lib/aws-rails-provisioner/db_cluster.rb [189:205]
def initialize(engine, options = {})
@profile = options[:profile]
@engine = engine
@family = options[:family] || _default_family
@description = options[:description] || 'created by AWS RailsProvisioner'
@cfn = !!options[:parameters]
unless @cfn
suffix = @engine.downcase.gsub(/_/, '-')
@name = "aws-rails-provisioner-default-#{suffix}"
_create_default_pg(options[:stub_client])
else
@parameters = Aws::RailsProvisioner::Utils.to_pairs(options[:parameters])
end
end