24 lines
400 B
Terraform
24 lines
400 B
Terraform
|
terraform {
|
||
|
|
||
|
required_providers {
|
||
|
proxmox = {
|
||
|
source = "bpg/proxmox"
|
||
|
version = ">= 0.58.1"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
provider "proxmox" {
|
||
|
endpoint = var.virtual_environment_endpoint
|
||
|
api_token = var.virtual_environment_api
|
||
|
insecure = true
|
||
|
|
||
|
}
|
||
|
|
||
|
variable "virtual_environment_endpoint" {
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "virtual_environment_api" {
|
||
|
type = string
|
||
|
}
|