When a terraform cloud agent de-registers the agent in the pool switches to the exited state. These exited state agents stay around indefinitely. When using the -single switch this leads to a lot of exited agents building up in the pool. Is there a way of having:
- An agent register with the same id so the state switches from exited to idle when it re-registers.
or
- Agents which have an exited state be automatically removed from the agent pool