mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(tf): proxprovider
This commit is contained in:
parent
b4cbaf5ee1
commit
e37624bb2a
9 changed files with 124 additions and 15 deletions
38
tf/proxmox_provider.tf
Normal file
38
tf/proxmox_provider.tf
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
variable "proxmox_reisen_endpoint" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_reisen_username" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_reisen_password" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_reisen_ssh_username" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_reisen_ssh_host" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_reisen_ssh_port" {
|
||||
type = number
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_reisen_endpoint
|
||||
username = var.proxmox_reisen_username
|
||||
password = var.proxmox_reisen_password
|
||||
|
||||
ssh {
|
||||
username = var.proxmox_reisen_ssh_username
|
||||
node {
|
||||
name = "reisen"
|
||||
address = var.proxmox_reisen_ssh_host
|
||||
port = var.proxmox_reisen_ssh_port
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue