generated from CC/VMServiceTemplate
Initial commit
This commit is contained in:
33
terraform/providers.tf
Normal file
33
terraform/providers.tf
Normal file
@@ -0,0 +1,33 @@
|
||||
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"]
|
||||
}
|
||||
Reference in New Issue
Block a user