Boavizta / cloud-scanner

📡 Get Boavizta impact data for your aws cloud account usage.
GNU Affero General Public License v3.0
32 stars 7 forks source link

Add instance state to the inventory #396

Closed demeringo closed 8 months ago

demeringo commented 8 months ago

Problem

Inventory result does not show instance state (running / stopped). This does not allow specific treatments of shut down instances (like bug #390 ).

Solution

Retrieve instance state and return it with the inventory.

To simplify, we will consider that an instance is running by default (unless explicitly "stopped" or "terminated").

Alternatives

Additional context or elements