first commit
This commit is contained in:
26
terraform/prod/providers.tf
Normal file
26
terraform/prod/providers.tf
Normal file
@@ -0,0 +1,26 @@
|
||||
# ================================================================
|
||||
# Déclaration des Providers Terraform
|
||||
#
|
||||
# Ce fichier indique à Terraform quels "plugins" il doit
|
||||
# télécharger pour interagir avec les API externes (Proxmox, etc.)
|
||||
# et comment les configurer.
|
||||
# ================================================================
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "0.43.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_url
|
||||
api_token = var.proxmox_api_token
|
||||
insecure = true
|
||||
ssh {
|
||||
agent = true
|
||||
username = "root"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user