add first terraform project with bpg-proxmox to create a simple cloud-init VM (not really working...)
This commit is contained in:
17
terraform/bgp-simple-vm/provider.tf
Normal file
17
terraform/bgp-simple-vm/provider.tf
Normal file
@@ -0,0 +1,17 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_endpoint
|
||||
api_token = var.proxmox_api_token
|
||||
insecure = false
|
||||
ssh {
|
||||
agent = true
|
||||
username = "root"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user