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

does terraforming support filtering by vpc-id? #428

Open bullblock opened 5 years ago

bullblock commented 5 years ago

I have a requirement, can terraforming support extract aws settings filtering by VPC-id? for example. when do

terraforming vpc --filter vpc-id (to extract the only vpc-is settings)

is that possible?

aking1012 commented 5 years ago

It's not possible at the moment, but in unix fashion, I let this tool be exactly what it does and wrote a wrapper to grab/flatten/not-grab-empty tf-states everything. To be true to unix fashion, I would write another wrapper to strip assets to VPC.id.