terraform-provider-mozout/docs/data-sources/servers.md
2026-11-28 15:28:08 +02:00

30 lines
556 B
Markdown

---
page_title: "mozout_servers Data Source - MozOut"
subcategory: "VPS"
description: |-
The VPS servers of the account.
---
# mozout_servers (Data Source)
The active and suspended VPS servers of the account, newest first.
## Example Usage
```terraform
data "mozout_servers" "all" {}
output "ips" {
value = { for s in data.mozout_servers.all.servers : s.name => s.ip }
}
```
## Schema
### Optional
- `status` (String) `active` or `suspended`.
### Read-Only
- `servers` (List of Object) `id`, `name`, `status`, `product`, `ip`, `power_state`.