Files
VMServiceTemplate/terraform/providers.tf

33 lines
720 B
Terraform
Raw Permalink Normal View History

2026-05-20 22:59:27 +01:00
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.106.0"
#url = https://registry.terraform.io/providers/bpg/proxmox/latest/docs/guides/clone-vm
}
aws = {
source = "hashicorp/aws"
version = "6.38.0"
}
}
}
provider "proxmox" {
endpoint = var.pm_api_url
api_token = var.pm_api_token
insecure = true
# === FIX THIS ===
ssh {
agent = true
username = "root"
password = "Ishimaru17"
}
}
provider "aws" {
region = "garage"
access_key = "GK242d456c0692a9d4cc102206"
secret_key = "1d7e22b7a8892cb11b569017659aa511b37b53287c4d1699c310d9f8ac76df09"
# shared_credentials_files = ["$HOME/.aws/credentials"]
}