k1LoW/awspec

Add support for S3 bucket location

anjo-swe opened this issue · 0 comments

Use Case

We want to check the region of a S3 bucket

Example

describe s3_bucket('my-bucket') do
  it { should have_location('us-east-1') }
end

References

Buckets in Region us-east-1 have a LocationConstraint of null.

Maybe handle null and return us-east-1 in that case