dtan4 / terraforming

Export existing AWS resources to Terraform style (tf, tfstate) / No longer actively maintained
http://terraforming.dtan4.net/
MIT License
4.3k stars 658 forks source link

iamp-nil-check #415

Closed savankumargudaas closed 5 years ago

savankumargudaas commented 6 years ago

While running terraforming iamip I ended up following error. This fix worked for me

$terraforming iamip 
...//log
1: from (erb):1:in `each'
(erb):5:in `block in apply_template': undefined method `role_name' for nil:NilClass (NoMethodError)
coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 23b58eac6d0009d1bd5028953e9f55e1fc71bf53 on savankumargudaas:iamp-nil-check into c1d467becef5645e14ff822860f3fc2a9868c066 on dtan4:master.

seren commented 5 years ago

I just ran into this issue as well. It would be nice to have this merged (after review).