terracognita
terracognita copied to clipboard
filter: by resources ID or attributes value
Abstract
resources can be filtered by tags but it would be nice to extend it to
- Resources IDs
- Attributes value
Proposal
example from terraformer:
--filter Type=sg;Name=vpc_id;Value=VPC_ID
This show a filter on security group service which have vpc_id=VPC_ID as attribute.
Other example:
--filter="Name=tags.project;Value=MyTagValue"
Filter every resource which have tags attribute containing project=MyTagValue
It could also simply be from a resource id
--filter="resource=ResourceId"