feat: working terraform configuration

This commit is contained in:
2026-08-13 15:58:13 +02:00
parent 1301b05977
commit 614a529af5
3 changed files with 138 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
variable "project_name" {
type = string
description = "VM name"
}
variable "ovh_endpoint" {
type = string
description = "OVH API endpoint"
default = "ovh-eu"
}
variable "ovh_application_key" {
type = string
sensitive = true
}
variable "ovh_application_secret" {
type = string
sensitive = true
}
variable "ovh_consumer_key" {
type = string
sensitive = true
}
variable "ovh_service_name" {
type = string
description = "OVHcloud Public Cloud Project ID"
}
variable "ovh_region" {
type = string
description = "OVHcloud region code"
default = "DE1" # Frankfurt, Germany
}
variable "ovh_flavor_name" {
type = string
description = "VM flavor name"
default = "d2-2"
}
variable "image_name" {
type = string
description = "OS distribution image name to boot the VM from"
default = "Debian 13"
}
variable "ssh_public_key" {
type = string
description = "Public SSH key to install on the VM"
}