scopely-devops / skew

Apache License 2.0
242 stars 70 forks source link

Add NatGateways #127

Closed faridnsh closed 6 years ago

faridnsh commented 7 years ago

Just adds NatGatewasys support + test. Travis build failed because of a networking error during pip install.

rsimac commented 6 years ago

I tested this patch manually and it runs good. Without it, the scan does not show my nat gateway:

>>> from skew import scan
>>> list(scan('arn:aws:ec2:us-east-1:003218362865:natgateway/*'))
[]

After applying patch, the nat gateway is scanned:

>>> from skew import scan
>>> list(scan('arn:aws:ec2:us-east-1:003218362865:natgateway/*'))
[arn:aws:ec2:us-east-1:003218362865:natgateway/nat-0881266c3e27bc4e0]
>>> 

it would be good to merge this one as well, thanks.