22 lines
399 B
Terraform
22 lines
399 B
Terraform
|
terraform {
|
||
|
required_providers {
|
||
|
proxmox = {
|
||
|
source = "bpg/proxmox"
|
||
|
version = "0.63.0"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
provider "proxmox" {
|
||
|
endpoint = "https://cluster-vip02.gyptazy.ch:8006/"
|
||
|
username = "root@pam"
|
||
|
password = "p@ssw0rd!"
|
||
|
insecure = true
|
||
|
|
||
|
ssh {
|
||
|
agent = true
|
||
|
# TODO: uncomment and configure if using api_token instead of password
|
||
|
# username = "root"
|
||
|
}
|
||
|
}
|