Sha256: d4318ceb6f79bc5d6ee75682a3e41275de5f52a4556c74f4b4dbace18fea9103

Contents?: true

Size: 569 Bytes

Versions: 4

Compression:

Stored size: 569 Bytes

Contents

module Outliers
  module Resources
    module Aws
      module Rds
        class DbInstance < Resource
          def self.key
            'db_instance_identifier'
          end

          def backup_retention_period?(args)
            days = args[:days]

            current = source.backup_retention_period
            logger.debug "Verifying '#{id}' retention period of '#{current}' equals '#{days}' days."
            current.to_i == days.to_i
          end

          def multi_az?
            source.multi_az?
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
outliers-0.3.3 lib/outliers/resources/aws/rds/db_instance.rb
outliers-0.3.2 lib/outliers/resources/aws/rds/db_instance.rb
outliers-0.3.1 lib/outliers/resources/aws/rds/db_instance.rb
outliers-0.3.0 lib/outliers/resources/aws/rds/db_instance.rb