class Comodule::Deployment::Helper::Aws::Rds::Service

Public Instance Methods

db(db_instance_identifier) click to toggle source
# File lib/comodule/deployment/helper/aws/rds.rb, line 16
def db(db_instance_identifier)
  ::Comodule::Deployment::Helper::Aws::Rds::Db.new(owner, db_instance_identifier)
end
latest_automated_snapshot() click to toggle source
# File lib/comodule/deployment/helper/aws/rds.rb, line 20
def latest_automated_snapshot
  if config.db && config.db.master && !config.db.snapshot_identifier
    config.db.snapshot_identifier = db(config.db.master).latest_automated_snapshot
  end
end