exoscale logo
Exoscale v0.46.0, Feb 27 23

exoscale.Compute

!> WARNING: This resource is DEPRECATED and will be removed in the next major version. Please use exoscale.ComputeInstance instead.

Create Compute Resource

new Compute(name: string, args: ComputeArgs, opts?: CustomResourceOptions);
@overload
def Compute(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            affinity_group_ids: Optional[Sequence[str]] = None,
            affinity_groups: Optional[Sequence[str]] = None,
            disk_size: Optional[int] = None,
            display_name: Optional[str] = None,
            hostname: Optional[str] = None,
            ip4: Optional[bool] = None,
            ip6: Optional[bool] = None,
            key_pair: Optional[str] = None,
            keyboard: Optional[str] = None,
            reverse_dns: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            security_groups: Optional[Sequence[str]] = None,
            size: Optional[str] = None,
            state: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            template: Optional[str] = None,
            template_id: Optional[str] = None,
            user_data: Optional[str] = None,
            zone: Optional[str] = None)
@overload
def Compute(resource_name: str,
            args: ComputeArgs,
            opts: Optional[ResourceOptions] = None)
func NewCompute(ctx *Context, name string, args ComputeArgs, opts ...ResourceOption) (*Compute, error)
public Compute(string name, ComputeArgs args, CustomResourceOptions? opts = null)
public Compute(String name, ComputeArgs args)
public Compute(String name, ComputeArgs args, CustomResourceOptions options)
type: exoscale:Compute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ComputeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ComputeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ComputeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ComputeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ComputeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Compute Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Compute resource accepts the following input properties:

DiskSize int

The instance disk size (GiB; at least 10).

Zone string

The Exoscale Zone name.

AffinityGroupIds List<string>

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

AffinityGroups List<string>

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

DisplayName string

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

Hostname string

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

Ip4 bool

Enable IPv4 on the instance (only supported value is true).

Ip6 bool

Enable IPv6 on the instance (boolean; default: false).

KeyPair string

The SSH keypair (name) to authorize in the instance.

Keyboard string

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

ReverseDns string

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

SecurityGroupIds List<string>

A list of security groups (IDs; conflicts with security_groups).

SecurityGroups List<string>

A list of security groups (names; conflicts with security_group_ids).

Size string

The instance size (Tiny, Small, Medium, Large, etc.)

State string

The instance state (Running or Stopped; default: Running)

Tags Dictionary<string, string>

A map of tags (key/value). To remove all tags, set tags = {}.

Template string

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

TemplateId string

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

UserData string

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

DiskSize int

The instance disk size (GiB; at least 10).

Zone string

The Exoscale Zone name.

AffinityGroupIds []string

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

AffinityGroups []string

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

DisplayName string

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

Hostname string

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

Ip4 bool

Enable IPv4 on the instance (only supported value is true).

Ip6 bool

Enable IPv6 on the instance (boolean; default: false).

KeyPair string

The SSH keypair (name) to authorize in the instance.

Keyboard string

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

ReverseDns string

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

SecurityGroupIds []string

A list of security groups (IDs; conflicts with security_groups).

SecurityGroups []string

A list of security groups (names; conflicts with security_group_ids).

Size string

The instance size (Tiny, Small, Medium, Large, etc.)

State string

The instance state (Running or Stopped; default: Running)

Tags map[string]string

A map of tags (key/value). To remove all tags, set tags = {}.

Template string

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

TemplateId string

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

UserData string

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

diskSize Integer

The instance disk size (GiB; at least 10).

zone String

The Exoscale Zone name.

affinityGroupIds List<String>

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinityGroups List<String>

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

displayName String

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

hostname String

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 Boolean

Enable IPv4 on the instance (only supported value is true).

ip6 Boolean

Enable IPv6 on the instance (boolean; default: false).

keyPair String

The SSH keypair (name) to authorize in the instance.

keyboard String

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

reverseDns String

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

securityGroupIds List<String>

A list of security groups (IDs; conflicts with security_groups).

securityGroups List<String>

A list of security groups (names; conflicts with security_group_ids).

size String

The instance size (Tiny, Small, Medium, Large, etc.)

state String

The instance state (Running or Stopped; default: Running)

tags Map<String,String>

A map of tags (key/value). To remove all tags, set tags = {}.

template String

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

templateId String

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

userData String

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

diskSize number

The instance disk size (GiB; at least 10).

zone string

The Exoscale Zone name.

affinityGroupIds string[]

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinityGroups string[]

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

displayName string

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

hostname string

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 boolean

Enable IPv4 on the instance (only supported value is true).

ip6 boolean

Enable IPv6 on the instance (boolean; default: false).

keyPair string

The SSH keypair (name) to authorize in the instance.

keyboard string

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

reverseDns string

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

securityGroupIds string[]

A list of security groups (IDs; conflicts with security_groups).

securityGroups string[]

A list of security groups (names; conflicts with security_group_ids).

size string

The instance size (Tiny, Small, Medium, Large, etc.)

state string

The instance state (Running or Stopped; default: Running)

tags {[key: string]: string}

A map of tags (key/value). To remove all tags, set tags = {}.

template string

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

templateId string

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

userData string

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

disk_size int

The instance disk size (GiB; at least 10).

zone str

The Exoscale Zone name.

affinity_group_ids Sequence[str]

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinity_groups Sequence[str]

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

display_name str

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

hostname str

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 bool

Enable IPv4 on the instance (only supported value is true).

ip6 bool

Enable IPv6 on the instance (boolean; default: false).

key_pair str

The SSH keypair (name) to authorize in the instance.

keyboard str

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

reverse_dns str

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

security_group_ids Sequence[str]

A list of security groups (IDs; conflicts with security_groups).

security_groups Sequence[str]

A list of security groups (names; conflicts with security_group_ids).

size str

The instance size (Tiny, Small, Medium, Large, etc.)

state str

The instance state (Running or Stopped; default: Running)

tags Mapping[str, str]

A map of tags (key/value). To remove all tags, set tags = {}.

template str

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

template_id str

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

user_data str

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

diskSize Number

The instance disk size (GiB; at least 10).

zone String

The Exoscale Zone name.

affinityGroupIds List<String>

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinityGroups List<String>

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

displayName String

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

hostname String

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 Boolean

Enable IPv4 on the instance (only supported value is true).

ip6 Boolean

Enable IPv6 on the instance (boolean; default: false).

keyPair String

The SSH keypair (name) to authorize in the instance.

keyboard String

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

reverseDns String

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

securityGroupIds List<String>

A list of security groups (IDs; conflicts with security_groups).

securityGroups List<String>

A list of security groups (names; conflicts with security_group_ids).

size String

The instance size (Tiny, Small, Medium, Large, etc.)

state String

The instance state (Running or Stopped; default: Running)

tags Map<String>

A map of tags (key/value). To remove all tags, set tags = {}.

template String

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

templateId String

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

userData String

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

Outputs

All input properties are implicitly available as output properties. Additionally, the Compute resource produces the following output properties:

Gateway string
Id string

The provider-assigned unique ID for this managed resource.

Ip6Address string

The instance (main network interface) IPv6 address (if enabled).

Ip6Cidr string
IpAddress string

The instance (main network interface) IPv4 address.

Name string

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

Password string

The instance initial password and/or encrypted password.

UserDataBase64 bool

was the cloud-init configuration base64 encoded

Username string

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

Gateway string
Id string

The provider-assigned unique ID for this managed resource.

Ip6Address string

The instance (main network interface) IPv6 address (if enabled).

Ip6Cidr string
IpAddress string

The instance (main network interface) IPv4 address.

Name string

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

Password string

The instance initial password and/or encrypted password.

UserDataBase64 bool

was the cloud-init configuration base64 encoded

Username string

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

gateway String
id String

The provider-assigned unique ID for this managed resource.

ip6Address String

The instance (main network interface) IPv6 address (if enabled).

ip6Cidr String
ipAddress String

The instance (main network interface) IPv4 address.

name String

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password String

The instance initial password and/or encrypted password.

userDataBase64 Boolean

was the cloud-init configuration base64 encoded

username String

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

gateway string
id string

The provider-assigned unique ID for this managed resource.

ip6Address string

The instance (main network interface) IPv6 address (if enabled).

ip6Cidr string
ipAddress string

The instance (main network interface) IPv4 address.

name string

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password string

The instance initial password and/or encrypted password.

userDataBase64 boolean

was the cloud-init configuration base64 encoded

username string

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

gateway str
id str

The provider-assigned unique ID for this managed resource.

ip6_address str

The instance (main network interface) IPv6 address (if enabled).

ip6_cidr str
ip_address str

The instance (main network interface) IPv4 address.

name str

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password str

The instance initial password and/or encrypted password.

user_data_base64 bool

was the cloud-init configuration base64 encoded

username str

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

gateway String
id String

The provider-assigned unique ID for this managed resource.

ip6Address String

The instance (main network interface) IPv6 address (if enabled).

ip6Cidr String
ipAddress String

The instance (main network interface) IPv4 address.

name String

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password String

The instance initial password and/or encrypted password.

userDataBase64 Boolean

was the cloud-init configuration base64 encoded

username String

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

Look up Existing Compute Resource

Get an existing Compute resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ComputeState, opts?: CustomResourceOptions): Compute
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        affinity_group_ids: Optional[Sequence[str]] = None,
        affinity_groups: Optional[Sequence[str]] = None,
        disk_size: Optional[int] = None,
        display_name: Optional[str] = None,
        gateway: Optional[str] = None,
        hostname: Optional[str] = None,
        ip4: Optional[bool] = None,
        ip6: Optional[bool] = None,
        ip6_address: Optional[str] = None,
        ip6_cidr: Optional[str] = None,
        ip_address: Optional[str] = None,
        key_pair: Optional[str] = None,
        keyboard: Optional[str] = None,
        name: Optional[str] = None,
        password: Optional[str] = None,
        reverse_dns: Optional[str] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        security_groups: Optional[Sequence[str]] = None,
        size: Optional[str] = None,
        state: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        template: Optional[str] = None,
        template_id: Optional[str] = None,
        user_data: Optional[str] = None,
        user_data_base64: Optional[bool] = None,
        username: Optional[str] = None,
        zone: Optional[str] = None) -> Compute
func GetCompute(ctx *Context, name string, id IDInput, state *ComputeState, opts ...ResourceOption) (*Compute, error)
public static Compute Get(string name, Input<string> id, ComputeState? state, CustomResourceOptions? opts = null)
public static Compute get(String name, Output<String> id, ComputeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AffinityGroupIds List<string>

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

AffinityGroups List<string>

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

DiskSize int

The instance disk size (GiB; at least 10).

DisplayName string

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

Gateway string
Hostname string

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

Ip4 bool

Enable IPv4 on the instance (only supported value is true).

Ip6 bool

Enable IPv6 on the instance (boolean; default: false).

Ip6Address string

The instance (main network interface) IPv6 address (if enabled).

Ip6Cidr string
IpAddress string

The instance (main network interface) IPv4 address.

KeyPair string

The SSH keypair (name) to authorize in the instance.

Keyboard string

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

Name string

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

Password string

The instance initial password and/or encrypted password.

ReverseDns string

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

SecurityGroupIds List<string>

A list of security groups (IDs; conflicts with security_groups).

SecurityGroups List<string>

A list of security groups (names; conflicts with security_group_ids).

Size string

The instance size (Tiny, Small, Medium, Large, etc.)

State string

The instance state (Running or Stopped; default: Running)

Tags Dictionary<string, string>

A map of tags (key/value). To remove all tags, set tags = {}.

Template string

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

TemplateId string

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

UserData string

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

UserDataBase64 bool

was the cloud-init configuration base64 encoded

Username string

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

Zone string

The Exoscale Zone name.

AffinityGroupIds []string

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

AffinityGroups []string

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

DiskSize int

The instance disk size (GiB; at least 10).

DisplayName string

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

Gateway string
Hostname string

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

Ip4 bool

Enable IPv4 on the instance (only supported value is true).

Ip6 bool

Enable IPv6 on the instance (boolean; default: false).

Ip6Address string

The instance (main network interface) IPv6 address (if enabled).

Ip6Cidr string
IpAddress string

The instance (main network interface) IPv4 address.

KeyPair string

The SSH keypair (name) to authorize in the instance.

Keyboard string

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

Name string

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

Password string

The instance initial password and/or encrypted password.

ReverseDns string

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

SecurityGroupIds []string

A list of security groups (IDs; conflicts with security_groups).

SecurityGroups []string

A list of security groups (names; conflicts with security_group_ids).

Size string

The instance size (Tiny, Small, Medium, Large, etc.)

State string

The instance state (Running or Stopped; default: Running)

Tags map[string]string

A map of tags (key/value). To remove all tags, set tags = {}.

Template string

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

TemplateId string

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

UserData string

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

UserDataBase64 bool

was the cloud-init configuration base64 encoded

Username string

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

Zone string

The Exoscale Zone name.

affinityGroupIds List<String>

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinityGroups List<String>

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

diskSize Integer

The instance disk size (GiB; at least 10).

displayName String

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

gateway String
hostname String

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 Boolean

Enable IPv4 on the instance (only supported value is true).

ip6 Boolean

Enable IPv6 on the instance (boolean; default: false).

ip6Address String

The instance (main network interface) IPv6 address (if enabled).

ip6Cidr String
ipAddress String

The instance (main network interface) IPv4 address.

keyPair String

The SSH keypair (name) to authorize in the instance.

keyboard String

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

name String

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password String

The instance initial password and/or encrypted password.

reverseDns String

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

securityGroupIds List<String>

A list of security groups (IDs; conflicts with security_groups).

securityGroups List<String>

A list of security groups (names; conflicts with security_group_ids).

size String

The instance size (Tiny, Small, Medium, Large, etc.)

state String

The instance state (Running or Stopped; default: Running)

tags Map<String,String>

A map of tags (key/value). To remove all tags, set tags = {}.

template String

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

templateId String

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

userData String

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

userDataBase64 Boolean

was the cloud-init configuration base64 encoded

username String

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

zone String

The Exoscale Zone name.

affinityGroupIds string[]

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinityGroups string[]

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

diskSize number

The instance disk size (GiB; at least 10).

displayName string

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

gateway string
hostname string

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 boolean

Enable IPv4 on the instance (only supported value is true).

ip6 boolean

Enable IPv6 on the instance (boolean; default: false).

ip6Address string

The instance (main network interface) IPv6 address (if enabled).

ip6Cidr string
ipAddress string

The instance (main network interface) IPv4 address.

keyPair string

The SSH keypair (name) to authorize in the instance.

keyboard string

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

name string

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password string

The instance initial password and/or encrypted password.

reverseDns string

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

securityGroupIds string[]

A list of security groups (IDs; conflicts with security_groups).

securityGroups string[]

A list of security groups (names; conflicts with security_group_ids).

size string

The instance size (Tiny, Small, Medium, Large, etc.)

state string

The instance state (Running or Stopped; default: Running)

tags {[key: string]: string}

A map of tags (key/value). To remove all tags, set tags = {}.

template string

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

templateId string

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

userData string

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

userDataBase64 boolean

was the cloud-init configuration base64 encoded

username string

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

zone string

The Exoscale Zone name.

affinity_group_ids Sequence[str]

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinity_groups Sequence[str]

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

disk_size int

The instance disk size (GiB; at least 10).

display_name str

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

gateway str
hostname str

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 bool

Enable IPv4 on the instance (only supported value is true).

ip6 bool

Enable IPv6 on the instance (boolean; default: false).

ip6_address str

The instance (main network interface) IPv6 address (if enabled).

ip6_cidr str
ip_address str

The instance (main network interface) IPv4 address.

key_pair str

The SSH keypair (name) to authorize in the instance.

keyboard str

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

name str

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password str

The instance initial password and/or encrypted password.

reverse_dns str

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

security_group_ids Sequence[str]

A list of security groups (IDs; conflicts with security_groups).

security_groups Sequence[str]

A list of security groups (names; conflicts with security_group_ids).

size str

The instance size (Tiny, Small, Medium, Large, etc.)

state str

The instance state (Running or Stopped; default: Running)

tags Mapping[str, str]

A map of tags (key/value). To remove all tags, set tags = {}.

template str

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

template_id str

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

user_data str

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

user_data_base64 bool

was the cloud-init configuration base64 encoded

username str

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

zone str

The Exoscale Zone name.

affinityGroupIds List<String>

A list of anti-affinity groups (IDs; at creation time only; conflicts with affinity_groups).

affinityGroups List<String>

A list of anti-affinity groups (names; at creation time only; conflicts with affinity_group_ids).

diskSize Number

The instance disk size (GiB; at least 10).

displayName String

The displayed instance name. Note: if the hostname attribute is not set, this attribute is also used to set the OS' hostname during creation, so the value must contain only alphanumeric and hyphen ("-") characters; it can be changed to any character during a later update. If neither display_name or hostname attributes are set, a random value will be generated automatically.

gateway String
hostname String

The instance hostname, must contain only alphanumeric and hyphen (-) characters. If neither display_name or hostname attributes are set, a random value will be generated automatically. Note: updating this attribute's value requires to reboot the instance.

ip4 Boolean

Enable IPv4 on the instance (only supported value is true).

ip6 Boolean

Enable IPv6 on the instance (boolean; default: false).

ip6Address String

The instance (main network interface) IPv6 address (if enabled).

ip6Cidr String
ipAddress String

The instance (main network interface) IPv4 address.

keyPair String

The SSH keypair (name) to authorize in the instance.

keyboard String

The keyboard layout configuration (de, de-ch, es, fi, fr, fr-be, fr-ch, is, it, jp, nl-be, no, pt, uk, us; at creation time only).

name String

(Deprecated) The instance hostname. Please use the hostname argument instead.

Deprecated:

use hostname attribute instead

password String

The instance initial password and/or encrypted password.

reverseDns String

The instance reverse DNS record (must end with a .; e.g: my-instance.example.net.).

securityGroupIds List<String>

A list of security groups (IDs; conflicts with security_groups).

securityGroups List<String>

A list of security groups (names; conflicts with security_group_ids).

size String

The instance size (Tiny, Small, Medium, Large, etc.)

state String

The instance state (Running or Stopped; default: Running)

tags Map<String>

A map of tags (key/value). To remove all tags, set tags = {}.

template String

The compute instance template (name). Only featured templates are available, if you want to reference custom templates use the template_id attribute instead.

templateId String

The compute instance template (ID). Usage of the exoscale.getComputeTemplate data source is recommended.

userData String

cloud-init configuration (no need to base64-encode or gzip it as the provider will take care of it).

userDataBase64 Boolean

was the cloud-init configuration base64 encoded

username String

The user to use to connect to the instance. If you've referenced a custom template in the resource, use the exoscale.getComputeTemplate data source username attribute instead.

Deprecated:

broken, use compute_template data source username attribute

zone String

The Exoscale Zone name.

Package Details

Repository
exoscale pulumiverse/pulumi-exoscale
License
Apache-2.0
Notes

This Pulumi package is based on the exoscale Terraform Provider.