Skip to content
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

Add filter options #50

Merged
merged 1 commit into from
May 9, 2019
Merged

Add filter options #50

merged 1 commit into from
May 9, 2019

Conversation

sergeylanzman
Copy link
Collaborator

@sergeylanzman sergeylanzman commented May 9, 2019

Add filter options. We can import resource by IDs and not all.
syntax for flag small complicate

--filter=TERRAFORM_TYPE1=ID_OF_RESOURCE1:ID_OF_RESOURCE2
--filter=TERRAFORM_TYPE2=ID_OF_RESOURCE4:ID_OF_RESOURCE3

example

--filter=google_compute_firewall=jenkins1:ssh
--filter=google_compute_network=stage:productions

TODO use regex

@sergeylanzman sergeylanzman force-pushed the add_filter branch 3 times, most recently from 5fd4a89 to 52b9834 Compare May 9, 2019 20:09
@sergeylanzman sergeylanzman merged commit c859480 into master May 9, 2019
@sergeylanzman sergeylanzman deleted the add_filter branch May 10, 2019 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant