aboutsummaryrefslogtreecommitdiff
path: root/opentofu/provider.tf
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-02 16:05:38 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-02 16:05:38 +0100
commit93f98bb6051fa702458f6853873a4443a401ba87 (patch)
tree892714042cebda841112956d7373fcd0896dd890 /opentofu/provider.tf
parented15ef307a5977816328b516a15436050232d99a (diff)
opentofu: definition of a docker ready machine
First iteration, will be optimized later
Diffstat (limited to 'opentofu/provider.tf')
-rw-r--r--opentofu/provider.tf17
1 files changed, 17 insertions, 0 deletions
diff --git a/opentofu/provider.tf b/opentofu/provider.tf
new file mode 100644
index 0000000..b78c91a
--- /dev/null
+++ b/opentofu/provider.tf
@@ -0,0 +1,17 @@
+terraform {
+ required_version = ">= 0.13.0"
+
+ required_providers {
+ proxmox = {
+ source = "telmate/proxmox"
+ version = "3.0.1-rc6"
+ }
+ }
+}
+
+provider "proxmox" {
+ pm_api_url = var.proxmox_api_url
+ pm_api_token_id = var.proxmox_api_token_id
+ pm_api_token_secret = var.proxmox_api_token_secret
+ pm_tls_insecure = true
+}