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

Fix support for EIP in EC2-Classic #316

Closed yn closed 7 years ago

yn commented 7 years ago

For EC2-Classic, the allocation_id is nil, which causes an error, so the ID and the module name should be derived from IP address rather than the allocation_id.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.0004%) to 99.786% when pulling ef877fc2cb258d969a6df9dae0a5e501a7498233 on yn:master into caf9c915bd6ab316b88f1ce406e7010b8833b0b2 on dtan4:master.

dtan4 commented 7 years ago

LGTM 👍 Thanks ❗️