Home
Softono
terraform-provider-latitudesh

terraform-provider-latitudesh

Open source MPL-2.0 Go
16
Stars
10
Forks
0
Issues
4
Watchers
3 weeks
Last Commit

About terraform-provider-latitudesh

Latitude.sh Terraform Provider

Platforms

Web Self-hosted

Languages

Go

Terraform Provider for Latitude.sh

GitHub release Go Reference License: MPL 2.0

Provision and manage Latitude.sh bare metal infrastructure using Terraform.

Full documentation is available on the Terraform Registry.

Getting Started

Check the latest releases for updates and changelogs.

Note: If you are upgrading from version 1.x to 2.x, please see the Migration Guide.

Installation & Requirements

To get started, make sure you have:

Then add the provider to your terraform block:

terraform {
  required_providers {
    latitudesh = {
      source  = "latitudesh/latitudesh"
      version = ">= 2.5.0"
    }
  }
}

Authentication

Export your API key:

export LATITUDESH_AUTH_TOKEN="<your-api-key-here>"

Quick Example

provider "latitudesh" {}

resource "latitudesh_server" "example" {
  billing           = "monthly"
  hostname          = "my-server"
  plan              = "c2-small-x86"
  site              = "SAO2"
  operating_system  = "ubuntu_24_04_x64_lts"
  project           = "proj_..."
  ssh_keys          = ["ssh_..."]
}

Then run:

terraform init
terraform apply

and type yes to confirm.

Resources

Highlighted resources:

For the complete list of resources and data sources, see the Terraform Registry documentation.

Contributing

We welcome all contributions, from small fixes to major improvements. See CONTRIBUTING.md for more details.