feat: working terraform configuration
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user