Closed tjjjwxzq closed 5 years ago
Hi @tjjjwxzq ! Thank you for your commit!!!!
I'm going to close this PR and re-open another one with a different target branch instead of the master of my fork, as there are some other patches that I want to push in and to open as separate PRs (to keep things organized)
This PR adds three commits that patch some methods in the RouteTable, CloudWatchLogs and CloudTrail resources, due to holes we found while using this at work.
RouteTable#target_gateway?
: modifies the check for whengateway_id
points to a NAT gateway, to ensure that both an ID and name work for thegateway_id
valueRouteTable#target_nat?
: modifies the check so that both an ID and name work for thenat_gateway_id
valueAdded
has_tags?
to theCloudWatchLogs
andCloudTrail
resources to allow for use of thehave_tag
matcher in specs. This required patching the corresponding finders to user the necessary AWS SDK methods to fetch the tags separately.