terraform-inventory icon indicating copy to clipboard operation
terraform-inventory copied to clipboard

Mixed order

Open AndreaCrotti opened this issue 9 years ago • 2 comments

At the moment the order of the output seems random, not sorted alphabetically or grouped by instance type.

Any way it could be sorted? Thanks

AndreaCrotti avatar Nov 29 '16 11:11 AndreaCrotti

Could you elaborate on what you're running, and what you're trying to accomplish? I agree that the output should be consistent.

adammck avatar Nov 29 '16 21:11 adammck

Well given a largish VPC with around 30 resources, there was an ELB with 3 servers inside them, instead of them being close together the output was something like

[my-server]
...
[other-stuff]
...
[my-server-2]
[my-server-1]

or something like that.So well resources that I would guess should be close together and ordered in some sort way didn't look like they were..

AndreaCrotti avatar Dec 10 '16 09:12 AndreaCrotti