Files
terraform-provider-binarylane/docs/data-sources/server.md
T
Oscar Hermoso 46117cf31d 👩‍⚕️ flesh out the docs, fix optional/required attrs (#59)
* 👨‍⚕️ Create docs

* 👩‍⚕️ self pr feedback

* 👩‍⚕️ more self pr feedback
2025-01-18 10:04:57 +08:00

1.9 KiB

page_title, subcategory, description
page_title subcategory description
binarylane_server Data Source - terraform-provider-binarylane Provides a Binary Lane Server data source. This can be used to read existing server details.

binarylane_server (Data Source)

Provides a Binary Lane Server data source. This can be used to read existing server details.

Example Usage

data "binarylane_server" "example" {
  id = 123456
}

Schema

Required

  • id (Number) The ID of the server to fetch.

Read-Only

  • backups (Boolean) If true, the server will be backed up twice per day. By default, backups are disabled.
  • disk (Number) The amount of storage in GB assigned to the server.
  • image (String) The slug of the selected operating system.
  • memory (Number) The amount of memory in MB assigned to the server.
  • name (String) The hostname of your server, such as vps01.yourcompany.com.
  • permalink (String) A randomly generated two-word identifier assigned to servers in regions that support this feature
  • port_blocking (Boolean) Port blocking of outgoing connections for email, SSH and Remote Desktop (TCP ports 22, 25, and 3389) is enabled by default for all new servers. If this is false port blocking will be disabled. Disabling port blocking is only available to reviewed accounts.
  • private_ipv4_addresses (List of String) The private IPv4 addresses assigned to the server.
  • public_ipv4_addresses (List of String) The public IPv4 addresses assigned to the server.
  • region (String) The slug of the selected region.
  • size (String) The slug of the selected size.
  • ssh_keys (List of Number) This is a list of SSH key ids that were added to the server during creation.
  • user_data (String) A script or cloud-config YAML file to configure the server.
  • vpc_id (Number) ID of the Virtual Private Cloud (VPC) the server is connected to.