GoogleCloudPlatform / terraformer

CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
Apache License 2.0
12.09k stars 1.6k forks source link

Using multiple filters not working #1881

Open rchand21 opened 1 month ago

rchand21 commented 1 month ago

I am trying to filter all resources from aws for a single vpc.

The example in the Readme is not filtering the results terraformer import aws -r sg,vpc --filter Type=sg;Name=vpc_id;Value=VPC_ID --filter Type=vpc;Name=id;Value=VPC_ID

Kubes1598 commented 2 weeks ago

have you tried this terraformer import aws --resources=vpc,subnet,security_group --filter=Name=vpc_id;Value=VPC_ID