feat: add opentofu basic setup
This commit is contained in:
parent
467de17183
commit
65a98c6f57
5 changed files with 112 additions and 0 deletions
21
opentofu/vms/providers.tf
Normal file
21
opentofu/vms/providers.tf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# docs: https://registry.terraform.io/providers/bpg/proxmox/latest/docs
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "0.43.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_api_endpoint
|
||||
api_token = var.proxmox_api_token
|
||||
insecure = true
|
||||
tmp_dir = "/var/tmp"
|
||||
ssh {
|
||||
agent = true
|
||||
username = "robo"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue