cloudscale_server

Nivis Nix constructor for the cloudscale_server resource (provider cloudscale). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  flavor_slug,
  allow_stopping_for_update ? null,
  bulk_volume_size_gb ? null,
  id ? null,
  image_slug ? null,
  image_uuid ? null,
  cfg_name ? null,
  password ? null,
  server_group_ids ? null,
  skip_waiting_for_ssh_host_keys ? null,
  ssh_keys ? null,
  status ? null,
  tags ? null,
  use_ipv6 ? null,
  use_private_network ? null,
  use_public_network ? null,
  user_data ? null,
  volume_size_gb ? null,
  zone_slug ? null,
  interfaces ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • flavor_slug
Optional arguments
  • allow_stopping_for_update (defaults to null)
  • bulk_volume_size_gb (defaults to null)
  • id (defaults to null)
  • image_slug (defaults to null)
  • image_uuid (defaults to null)
  • cfg_name (defaults to null)
  • password (defaults to null)
  • server_group_ids (defaults to null)
  • skip_waiting_for_ssh_host_keys (defaults to null)
  • ssh_keys (defaults to null)
  • status (defaults to null)
  • tags (defaults to null)
  • use_ipv6 (defaults to null)
  • use_private_network (defaults to null)
  • use_public_network (defaults to null)
  • user_data (defaults to null)
  • volume_size_gb (defaults to null)
  • zone_slug (defaults to null)
  • interfaces (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • href
  • private_ipv4_address
  • public_ipv4_address
  • public_ipv6_address
  • server_groups
  • ssh_fingerprints
  • ssh_host_keys
  • volumes
Example
cloudscale_server {
  name = "server";
  flavor_slug = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.