Files
autoglue/terraform-provider-autoglue/docs/resources/server.md
2025-11-06 02:36:17 +00:00

38 lines
1.1 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "autoglue_server Resource - terraform-provider-autoglue"
subcategory: ""
description: |-
Create and manage a server (org-scoped). Mirrors API validation for role/status/ssh_key_id.
---
# autoglue_server (Resource)
Create and manage a server (org-scoped). Mirrors API validation for role/status/ssh_key_id.
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `hostname` (String) Hostname.
- `private_ip_address` (String) Private IP address (required).
- `role` (String) Server role (e.g., agent/manager/bastion). Lowercased by the provider.
- `ssh_key_id` (String) SSH key ID (UUID) that belongs to the org.
- `ssh_user` (String) SSH username (required).
### Optional
- `public_ip_address` (String) Public IP address (required when role = bastion).
- `status` (String) Status (pending|provisioning|ready|failed). Lowercased by the provider.
### Read-Only
- `created_at` (String)
- `id` (String) Server ID (UUID).
- `organization_id` (String)
- `raw` (String) Full server JSON from API.
- `updated_at` (String)