Skip to content

Importing multiple AWS resources with filters doesn't work #1966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rajesh-unity3d opened this issue Dec 23, 2024 · 2 comments
Open

Importing multiple AWS resources with filters doesn't work #1966

rajesh-unity3d opened this issue Dec 23, 2024 · 2 comments
Labels

Comments

@rajesh-unity3d
Copy link

I am trying to run command similar to the below to import multiple AWS resources with specific filters but when the command executes, its just importing all the available resources of that type without taking filters into consideration.
Can someone help me with this?

terraformer import aws --resources=iam,sns,s3 --filter="Type=iam;Name=name;Value=test" --filter="Type=sns;Name=name;Value='test-abc'" --filter="Type=s3;Name=id;Value='test-bcd'" --profile new-test -C --path-pattern {output}/{provider}

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Feb 24, 2025
@beethika10
Copy link

Any solution to this?
I am also trying to import aws iam roles using wildcard but not working.
terraformer import aws --resources=iam --regions=us-east-1 --filter="Type=aws_iam_role;Name=role_name;Value='name*'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants