lib/openstax/aws/rds_instance.rb in openstax_aws-1.4.0 vs lib/openstax/aws/rds_instance.rb in openstax_aws-1.5.0

- old
+ new

@@ -3,23 +3,26 @@ attr_reader :raw delegate_missing_to :@raw + def self.physical_resource_id_attribute + :db_instance_identifier + end + def initialize(db_instance_identifier:, region:) @raw = Aws::RDS::DBInstance.new( db_instance_identifier, client: Aws::RDS::Client.new(region: region) ) end def set_master_password(password:) raw.modify({ - apply_immediately: true, + apply_immediately: true, master_user_password: password }) - + end end end -