46 lines
1.1 KiB
Terraform
46 lines
1.1 KiB
Terraform
variable "docker_compose_path" {
|
|
type = string
|
|
description = "Path to the local docker-compose.yml file"
|
|
}
|
|
|
|
variable "destination_path" {
|
|
type = string
|
|
description = "Destination path on the VM where the compose file will be uploaded"
|
|
default = "/home/debian/docker-compose.yml"
|
|
}
|
|
|
|
variable "vm_ip" {
|
|
type = string
|
|
description = "Target VM IP address (without CIDR)"
|
|
}
|
|
|
|
variable "vm_ssh_key" {
|
|
type = string
|
|
description = "SSH private key for VM authentication"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "infisical_project_token" {
|
|
type = string
|
|
description = "Infisical Service Token for project-specific secrets"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "environment" {
|
|
type = string
|
|
description = "The target environment (e.g. staging, prod)"
|
|
}
|
|
|
|
variable "ssh_user" {
|
|
type = string
|
|
description = "SSH user for VM authentication"
|
|
default = "debian"
|
|
}
|
|
|
|
variable "start_delay_seconds" {
|
|
type = number
|
|
description = "Number of seconds to wait after starting docker compose"
|
|
default = 10
|
|
}
|
|
|