Files
terraform-provider-binarylane/docs/resources/server.md
T
2024-08-16 17:38:04 +08:00

30 lines
1.4 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "binarylane_server Resource - terraform-provider-binarylane"
subcategory: ""
description: |-
Provides a Binary Lane Server resource. This can be used to create and delete servers.
---
# binarylane_server (Resource)
Provides a Binary Lane Server resource. This can be used to create and delete servers.
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `image` (String) The slug of the selected operating system.
- `region` (String) The slug of the selected region.
- `size` (String) The slug of the selected size.
### Optional
- `backups` (Boolean) If true this will enable two daily backups for the server. Options.daily_backups will override this value if provided. Setting this to false has no effect.
- `id` (Number) The ID of the server to fetch.
- `name` (String) The hostname of your server, such as vps01.yourcompany.com. If not provided, the server will be created with a random name.
- `password` (String, Sensitive) If this is provided the specified or default remote user's account password will be set to this value. Only valid if the server supports password change actions (check server.password_change_supported via the servers endpoint). If omitted and the server supports password change actions a random password will be generated and emailed to the account email address.