cloudscale_serverNivis 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 tonull)bulk_volume_size_gb(defaults tonull)id(defaults tonull)image_slug(defaults tonull)image_uuid(defaults tonull)cfg_name(defaults tonull)password(defaults tonull)server_group_ids(defaults tonull)skip_waiting_for_ssh_host_keys(defaults tonull)ssh_keys(defaults tonull)status(defaults tonull)tags(defaults tonull)use_ipv6(defaults tonull)use_private_network(defaults tonull)use_public_network(defaults tonull)user_data(defaults tonull)volume_size_gb(defaults tonull)zone_slug(defaults tonull)interfaces(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
hrefprivate_ipv4_addresspublic_ipv4_addresspublic_ipv6_addressserver_groupsssh_fingerprintsssh_host_keysvolumes
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.