30 lines
581 B
Markdown
30 lines
581 B
Markdown
---
|
|
page_title: "interwebao_servers Data Source - Interweb Angola"
|
|
subcategory: "VPS"
|
|
description: |-
|
|
The VPS servers of the account.
|
|
---
|
|
|
|
# interwebao_servers (Data Source)
|
|
|
|
The active and suspended VPS servers of the account, newest first.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "interwebao_servers" "all" {}
|
|
|
|
output "ips" {
|
|
value = { for s in data.interwebao_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`.
|