k1LoW / awspec

RSpec tests for your AWS resources.
MIT License
1.17k stars 193 forks source link

Add have_server_side_encryption matcher to s3_bucket #446

Closed tatsuyafw closed 5 years ago

tatsuyafw commented 5 years ago

Fixes #436

This PR adds have_server_side_encryption matcher to s3_bucket. This matcher is used as follows to test whether server side encryption enabled or not.

describe s3_bucket('my-bucket') do
  it { should have_server_side_encryption(algorithm: 'aws:kms') }
end

I would appreciate receiving a feedback.

k1LoW commented 5 years ago

Hi @tatsuyafw !! YAY !!! Thank you for your commit !!! 👍 👍 👍

k1LoW commented 5 years ago

Released as v1.15.0.