first commit
This commit is contained in:
28
terraform/main.tf
Normal file
28
terraform/main.tf
Normal file
@@ -0,0 +1,28 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "0.80.0"
|
||||
}
|
||||
ionoscloud = {
|
||||
source = "ionos-cloud/ionoscloud"
|
||||
version = "~> 6.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_api_url
|
||||
api_token = var.proxmox_token
|
||||
insecure = true
|
||||
ssh {
|
||||
agent = true
|
||||
username = "root"
|
||||
private_key = file("~/.ssh/sascha.koenig")
|
||||
}
|
||||
}
|
||||
|
||||
provider "ionoscloud" {
|
||||
username = var.ionos_username
|
||||
password = var.ionos_password
|
||||
}
|
||||
Reference in New Issue
Block a user