k1LoW / awspec

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

Make `transit_gateway` `have_attachment` work with names #586

Closed alexjfisher closed 5 months ago

alexjfisher commented 6 months ago

With this change, it is now possible to check transit gateways have attachments based on the attachment name instead of just id. The name can either be a string or a regex.

have_attachment now also works if should exist hasn't been called first (where @id wasn't initialised).

k1LoW commented 5 months ago

@alexjfisher Thank you!!! I am very sorry for the delay in merging.