Terraform Reference

Schema reference for our Terraform provider.

Schema

Required

  • Name
    api_key
    Type
    string
    Description

Optional

  • Name
    api_endpoint
    Type
    string
    Description

    The URL to use for the Cudo Compute GRPC API.

  • Name
    disable_tls
    Type
    boolean
    Description

    The URL to use for the Cudo Compute GRPC API.

Resources

cudo_compute_instance (Resource)

Required

  • Name
    compute_type_id
    Type
    string
    Description
  • Name
    image_id
    Type
    string
    Description
  • Name
    project_id
    Type
    string
    Description

Read-Only

  • Name
    cpu_class
    Type
    string
    Description
  • Name
    cpu_model
    Type
    string
    Description
  • Name
    datacenter_id
    Type
    string
    Description
  • Name
    gpu_mem
    Type
    number
    Description
  • Name
    gpu_model
    Type
    string
    Description
  • Name
    gpu_quantity
    Type
    number
    Description
  • Name
    id
    Type
    string
    Description

    The ID of this resource.

  • Name
    lease_status
    Type
    string
    Description
  • Name
    local_ip_address
    Type
    string
    Description
  • Name
    memory
    Type
    number
    Description
  • Name
    price_hr
    Type
    number
    Description
  • Name
    public_ip_address
    Type
    string
    Description
  • Name
    region_id
    Type
    string
    Description
  • Name
    state
    Type
    string
    Description
  • Name
    storage
    Type
    string
    Description
  • Name
    vcpus
    Type
    number
    Description

cudo_ssh_key

Required

  • Name
    public__key
    Type
    string
    Description

Read-Only

  • Name
    comment
    Type
    string
    Description
  • Name
    fingerprint
    Type
    string
    Description
  • Name
    project_id
    Type
    string
    Description

    The ID of this resource.

  • Name
    type
    Type
    string
    Description

Data sources

cudo_compute_instances (Data Source)

Schema

Required

  • project_id (String)

Read-Only

Nested Schema for compute_instances

Read-Only:

  • cpu_class (String)
  • cpu_model (String)
  • gpu_mem (Number)
  • gpu_model (String)
  • gpu_quantity (Number)
  • id (String)
  • lease_status (String)
  • local_ip_address (String)
  • memory (Number)
  • price_hr (Number)
  • public_ip_address (String)
  • state (String)
  • storage (Number)
  • vcpus (Number)

cudo_compute_types (Data Source)

Schema

Optional

  • gpu_vendor (String)
  • memory (Number)
  • region_id (String)

Read-Only

Nested Schema for compute_types

Read-Only:

  • avail_quantity (Number)
  • cpu_class (String)
  • cpu_model (String)
  • cpu_vendor (String)
  • gpu_class (String)
  • gpu_mem (Number)
  • gpu_model (String)
  • gpu_quantity (Number)
  • id (String)
  • label (String)
  • memory (Number)
  • price_hr (Number)
  • region_id (String)
  • sockets (Number)
  • storage (Number)
  • vcpus (Number)

cudo_images (Data Source)

Schema

Read-Only

Nested Schema for images

Read-Only:

  • description (String)
  • id (String)
  • name (String)
  • size (String)

cudo_regions (Data Source)

Schema

Read-Only

Nested Schema for regions

Read-Only:

  • id (String)
  • name (String)

cudo_ssh_keys (Data Source)

Schema

Read-Only

Nested Schema for sshkeys

Read-Only:

  • comment (String)
  • fingerprint (String)
  • id (String)
  • public_key (String)
  • type (String)