✨ Add initial Terraform configuration for Azure and Proxmox resources
This commit is contained in:
39
terraform.tf
Normal file
39
terraform.tf
Normal file
@@ -0,0 +1,39 @@
|
||||
terraform {
|
||||
backend "azurerm" {}
|
||||
|
||||
required_version = ">=1.11.1"
|
||||
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = ">=0.89.1"
|
||||
}
|
||||
ipify = {
|
||||
source = "rerichardjr/ipify"
|
||||
version = ">= 1.0.0"
|
||||
}
|
||||
azurerm = {
|
||||
source = "hashicorp/azurerm"
|
||||
version = ">=4.56.0"
|
||||
}
|
||||
cloudflare = {
|
||||
source = "cloudflare/cloudflare"
|
||||
version = ">=5.14.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.pve_api_url
|
||||
api_token = var.pve_token
|
||||
insecure = false
|
||||
}
|
||||
|
||||
provider "azurerm" {
|
||||
features { }
|
||||
subscription_id = var.azure_subscription_id
|
||||
}
|
||||
|
||||
provider "cloudflare" {
|
||||
api_token = var.cloudflare_api_token
|
||||
}
|
||||
Reference in New Issue
Block a user