civo.Instance
Provides a Civo instance resource. This can be used to create, modify, and delete instances.
Create Instance Resource
new Instance(name: string, args?: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
disk_image: Optional[str] = None,
firewall_id: Optional[str] = None,
hostname: Optional[str] = None,
initial_user: Optional[str] = None,
network_id: Optional[str] = None,
notes: Optional[str] = None,
public_ip_required: Optional[str] = None,
region: Optional[str] = None,
reverse_dns: Optional[str] = None,
script: Optional[str] = None,
size: Optional[str] = None,
sshkey_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
template: Optional[str] = None)
@overload
def Instance(resource_name: str,
args: Optional[InstanceArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewInstance(ctx *Context, name string, args *InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs? args = null, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: civo:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Instance 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 Instance resource accepts the following input properties:
- Disk
Image string The ID for the disk image to use to build the instance
- Firewall
Id string The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- Hostname string
A fully qualified domain name that should be set as the instance's hostname
- Initial
User string The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- Network
Id string This must be the ID of the network from the network listing (optional; default network used when not specified)
- Notes string
Add some notes to the instance
- Public
Ip stringRequired This should be either 'none' or 'create' (default: 'create')
- Region string
The region for the instance, if not declare we use the region in declared in the provider
- Reverse
Dns string A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- Script string
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- Size string
The name of the size, from the current list, e.g. g3.xsmall
- Sshkey
Id string The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- List<string>
An optional list of tags, represented as a key, value pair
- Template string
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- Disk
Image string The ID for the disk image to use to build the instance
- Firewall
Id string The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- Hostname string
A fully qualified domain name that should be set as the instance's hostname
- Initial
User string The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- Network
Id string This must be the ID of the network from the network listing (optional; default network used when not specified)
- Notes string
Add some notes to the instance
- Public
Ip stringRequired This should be either 'none' or 'create' (default: 'create')
- Region string
The region for the instance, if not declare we use the region in declared in the provider
- Reverse
Dns string A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- Script string
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- Size string
The name of the size, from the current list, e.g. g3.xsmall
- Sshkey
Id string The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- []string
An optional list of tags, represented as a key, value pair
- Template string
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- disk
Image String The ID for the disk image to use to build the instance
- firewall
Id String The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname String
A fully qualified domain name that should be set as the instance's hostname
- initial
User String The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network
Id String This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes String
Add some notes to the instance
- public
Ip StringRequired This should be either 'none' or 'create' (default: 'create')
- region String
The region for the instance, if not declare we use the region in declared in the provider
- reverse
Dns String A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script String
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size String
The name of the size, from the current list, e.g. g3.xsmall
- sshkey
Id String The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- List<String>
An optional list of tags, represented as a key, value pair
- template String
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- disk
Image string The ID for the disk image to use to build the instance
- firewall
Id string The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname string
A fully qualified domain name that should be set as the instance's hostname
- initial
User string The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network
Id string This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes string
Add some notes to the instance
- public
Ip stringRequired This should be either 'none' or 'create' (default: 'create')
- region string
The region for the instance, if not declare we use the region in declared in the provider
- reverse
Dns string A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script string
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size string
The name of the size, from the current list, e.g. g3.xsmall
- sshkey
Id string The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- string[]
An optional list of tags, represented as a key, value pair
- template string
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- disk_
image str The ID for the disk image to use to build the instance
- firewall_
id str The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname str
A fully qualified domain name that should be set as the instance's hostname
- initial_
user str The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network_
id str This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes str
Add some notes to the instance
- public_
ip_ strrequired This should be either 'none' or 'create' (default: 'create')
- region str
The region for the instance, if not declare we use the region in declared in the provider
- reverse_
dns str A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script str
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size str
The name of the size, from the current list, e.g. g3.xsmall
- sshkey_
id str The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- Sequence[str]
An optional list of tags, represented as a key, value pair
- template str
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- disk
Image String The ID for the disk image to use to build the instance
- firewall
Id String The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname String
A fully qualified domain name that should be set as the instance's hostname
- initial
User String The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network
Id String This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes String
Add some notes to the instance
- public
Ip StringRequired This should be either 'none' or 'create' (default: 'create')
- region String
The region for the instance, if not declare we use the region in declared in the provider
- reverse
Dns String A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script String
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size String
The name of the size, from the current list, e.g. g3.xsmall
- sshkey
Id String The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- List<String>
An optional list of tags, represented as a key, value pair
- template String
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Cpu
Cores int Instance's CPU cores
- Created
At string Timestamp when the instance was created
- Disk
Gb int Instance's disk (GB)
- Id string
The provider-assigned unique ID for this managed resource.
- Initial
Password string Initial password for login
- Private
Ip string Instance's private IP address
- Public
Ip string Instance's public IP address
- Ram
Mb int Instance's RAM (MB)
- Source
Id string Instance's source ID
- Source
Type string Instance's source type
- Status string
Instance's status
- Cpu
Cores int Instance's CPU cores
- Created
At string Timestamp when the instance was created
- Disk
Gb int Instance's disk (GB)
- Id string
The provider-assigned unique ID for this managed resource.
- Initial
Password string Initial password for login
- Private
Ip string Instance's private IP address
- Public
Ip string Instance's public IP address
- Ram
Mb int Instance's RAM (MB)
- Source
Id string Instance's source ID
- Source
Type string Instance's source type
- Status string
Instance's status
- cpu
Cores Integer Instance's CPU cores
- created
At String Timestamp when the instance was created
- disk
Gb Integer Instance's disk (GB)
- id String
The provider-assigned unique ID for this managed resource.
- initial
Password String Initial password for login
- private
Ip String Instance's private IP address
- public
Ip String Instance's public IP address
- ram
Mb Integer Instance's RAM (MB)
- source
Id String Instance's source ID
- source
Type String Instance's source type
- status String
Instance's status
- cpu
Cores number Instance's CPU cores
- created
At string Timestamp when the instance was created
- disk
Gb number Instance's disk (GB)
- id string
The provider-assigned unique ID for this managed resource.
- initial
Password string Initial password for login
- private
Ip string Instance's private IP address
- public
Ip string Instance's public IP address
- ram
Mb number Instance's RAM (MB)
- source
Id string Instance's source ID
- source
Type string Instance's source type
- status string
Instance's status
- cpu_
cores int Instance's CPU cores
- created_
at str Timestamp when the instance was created
- disk_
gb int Instance's disk (GB)
- id str
The provider-assigned unique ID for this managed resource.
- initial_
password str Initial password for login
- private_
ip str Instance's private IP address
- public_
ip str Instance's public IP address
- ram_
mb int Instance's RAM (MB)
- source_
id str Instance's source ID
- source_
type str Instance's source type
- status str
Instance's status
- cpu
Cores Number Instance's CPU cores
- created
At String Timestamp when the instance was created
- disk
Gb Number Instance's disk (GB)
- id String
The provider-assigned unique ID for this managed resource.
- initial
Password String Initial password for login
- private
Ip String Instance's private IP address
- public
Ip String Instance's public IP address
- ram
Mb Number Instance's RAM (MB)
- source
Id String Instance's source ID
- source
Type String Instance's source type
- status String
Instance's status
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cpu_cores: Optional[int] = None,
created_at: Optional[str] = None,
disk_gb: Optional[int] = None,
disk_image: Optional[str] = None,
firewall_id: Optional[str] = None,
hostname: Optional[str] = None,
initial_password: Optional[str] = None,
initial_user: Optional[str] = None,
network_id: Optional[str] = None,
notes: Optional[str] = None,
private_ip: Optional[str] = None,
public_ip: Optional[str] = None,
public_ip_required: Optional[str] = None,
ram_mb: Optional[int] = None,
region: Optional[str] = None,
reverse_dns: Optional[str] = None,
script: Optional[str] = None,
size: Optional[str] = None,
source_id: Optional[str] = None,
source_type: Optional[str] = None,
sshkey_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
template: Optional[str] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState 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.
- Cpu
Cores int Instance's CPU cores
- Created
At string Timestamp when the instance was created
- Disk
Gb int Instance's disk (GB)
- Disk
Image string The ID for the disk image to use to build the instance
- Firewall
Id string The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- Hostname string
A fully qualified domain name that should be set as the instance's hostname
- Initial
Password string Initial password for login
- Initial
User string The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- Network
Id string This must be the ID of the network from the network listing (optional; default network used when not specified)
- Notes string
Add some notes to the instance
- Private
Ip string Instance's private IP address
- Public
Ip string Instance's public IP address
- Public
Ip stringRequired This should be either 'none' or 'create' (default: 'create')
- Ram
Mb int Instance's RAM (MB)
- Region string
The region for the instance, if not declare we use the region in declared in the provider
- Reverse
Dns string A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- Script string
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- Size string
The name of the size, from the current list, e.g. g3.xsmall
- Source
Id string Instance's source ID
- Source
Type string Instance's source type
- Sshkey
Id string The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- Status string
Instance's status
- List<string>
An optional list of tags, represented as a key, value pair
- Template string
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- Cpu
Cores int Instance's CPU cores
- Created
At string Timestamp when the instance was created
- Disk
Gb int Instance's disk (GB)
- Disk
Image string The ID for the disk image to use to build the instance
- Firewall
Id string The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- Hostname string
A fully qualified domain name that should be set as the instance's hostname
- Initial
Password string Initial password for login
- Initial
User string The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- Network
Id string This must be the ID of the network from the network listing (optional; default network used when not specified)
- Notes string
Add some notes to the instance
- Private
Ip string Instance's private IP address
- Public
Ip string Instance's public IP address
- Public
Ip stringRequired This should be either 'none' or 'create' (default: 'create')
- Ram
Mb int Instance's RAM (MB)
- Region string
The region for the instance, if not declare we use the region in declared in the provider
- Reverse
Dns string A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- Script string
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- Size string
The name of the size, from the current list, e.g. g3.xsmall
- Source
Id string Instance's source ID
- Source
Type string Instance's source type
- Sshkey
Id string The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- Status string
Instance's status
- []string
An optional list of tags, represented as a key, value pair
- Template string
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- cpu
Cores Integer Instance's CPU cores
- created
At String Timestamp when the instance was created
- disk
Gb Integer Instance's disk (GB)
- disk
Image String The ID for the disk image to use to build the instance
- firewall
Id String The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname String
A fully qualified domain name that should be set as the instance's hostname
- initial
Password String Initial password for login
- initial
User String The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network
Id String This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes String
Add some notes to the instance
- private
Ip String Instance's private IP address
- public
Ip String Instance's public IP address
- public
Ip StringRequired This should be either 'none' or 'create' (default: 'create')
- ram
Mb Integer Instance's RAM (MB)
- region String
The region for the instance, if not declare we use the region in declared in the provider
- reverse
Dns String A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script String
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size String
The name of the size, from the current list, e.g. g3.xsmall
- source
Id String Instance's source ID
- source
Type String Instance's source type
- sshkey
Id String The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- status String
Instance's status
- List<String>
An optional list of tags, represented as a key, value pair
- template String
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- cpu
Cores number Instance's CPU cores
- created
At string Timestamp when the instance was created
- disk
Gb number Instance's disk (GB)
- disk
Image string The ID for the disk image to use to build the instance
- firewall
Id string The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname string
A fully qualified domain name that should be set as the instance's hostname
- initial
Password string Initial password for login
- initial
User string The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network
Id string This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes string
Add some notes to the instance
- private
Ip string Instance's private IP address
- public
Ip string Instance's public IP address
- public
Ip stringRequired This should be either 'none' or 'create' (default: 'create')
- ram
Mb number Instance's RAM (MB)
- region string
The region for the instance, if not declare we use the region in declared in the provider
- reverse
Dns string A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script string
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size string
The name of the size, from the current list, e.g. g3.xsmall
- source
Id string Instance's source ID
- source
Type string Instance's source type
- sshkey
Id string The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- status string
Instance's status
- string[]
An optional list of tags, represented as a key, value pair
- template string
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- cpu_
cores int Instance's CPU cores
- created_
at str Timestamp when the instance was created
- disk_
gb int Instance's disk (GB)
- disk_
image str The ID for the disk image to use to build the instance
- firewall_
id str The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname str
A fully qualified domain name that should be set as the instance's hostname
- initial_
password str Initial password for login
- initial_
user str The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network_
id str This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes str
Add some notes to the instance
- private_
ip str Instance's private IP address
- public_
ip str Instance's public IP address
- public_
ip_ strrequired This should be either 'none' or 'create' (default: 'create')
- ram_
mb int Instance's RAM (MB)
- region str
The region for the instance, if not declare we use the region in declared in the provider
- reverse_
dns str A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script str
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size str
The name of the size, from the current list, e.g. g3.xsmall
- source_
id str Instance's source ID
- source_
type str Instance's source type
- sshkey_
id str The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- status str
Instance's status
- Sequence[str]
An optional list of tags, represented as a key, value pair
- template str
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
- cpu
Cores Number Instance's CPU cores
- created
At String Timestamp when the instance was created
- disk
Gb Number Instance's disk (GB)
- disk
Image String The ID for the disk image to use to build the instance
- firewall
Id String The ID of the firewall to use, from the current list. If left blank or not sent, the default firewall will be used (open to all)
- hostname String
A fully qualified domain name that should be set as the instance's hostname
- initial
Password String Initial password for login
- initial
User String The name of the initial user created on the server (optional; this will default to the template's default_username and fallback to civo)
- network
Id String This must be the ID of the network from the network listing (optional; default network used when not specified)
- notes String
Add some notes to the instance
- private
Ip String Instance's private IP address
- public
Ip String Instance's public IP address
- public
Ip StringRequired This should be either 'none' or 'create' (default: 'create')
- ram
Mb Number Instance's RAM (MB)
- region String
The region for the instance, if not declare we use the region in declared in the provider
- reverse
Dns String A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified)
- script String
The contents of a script that will be uploaded to /usr/local/bin/civo-user-init-script on your instance, read/write/executable only by root and then will be executed at the end of the cloud initialization
- size String
The name of the size, from the current list, e.g. g3.xsmall
- source
Id String Instance's source ID
- source
Type String Instance's source type
- sshkey
Id String The ID of an already uploaded SSH public key to use for login to the default user (optional; if one isn't provided a random password will be set and returned in the initial_password field)
- status String
Instance's status
- List<String>
An optional list of tags, represented as a key, value pair
- template String
The ID for the template to use to build the instance
"template" attribute is deprecated. Moving forward, please use "disk_image" attribute.
Import
using ID
$ pulumi import civo:index/instance:Instance myintance 18bd98ad-1b6e-4f87-b48f-e690b4fd7413
Package Details
- Repository
- Civo pulumi/pulumi-civo
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
civo
Terraform Provider.