✨ Add initial Terraform configuration for Azure and Proxmox resources
This commit is contained in:
68
modules/pangolin/variables.tf
Normal file
68
modules/pangolin/variables.tf
Normal file
@@ -0,0 +1,68 @@
|
||||
variable "location" {
|
||||
type = string
|
||||
default = "westeurope"
|
||||
}
|
||||
|
||||
variable "environment" {
|
||||
type = string
|
||||
default = "prod"
|
||||
}
|
||||
|
||||
variable "instance" {
|
||||
type = string
|
||||
default = "homelab"
|
||||
}
|
||||
|
||||
variable "tags" {
|
||||
type = map(string)
|
||||
default = {
|
||||
project = "pangolin"
|
||||
env = "prod"
|
||||
}
|
||||
}
|
||||
|
||||
variable "vm_name" {
|
||||
type = string
|
||||
default = "pangolin-proxy"
|
||||
}
|
||||
|
||||
variable "vm_size" {
|
||||
type = string
|
||||
default = "Standard_A2_v2"
|
||||
}
|
||||
|
||||
variable "admin_username" {
|
||||
type = string
|
||||
default = "azureuser"
|
||||
}
|
||||
|
||||
variable "ssh_pubkey" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "vnet_cidr_ipv4" {
|
||||
type = string
|
||||
default = "10.50.0.0/16"
|
||||
}
|
||||
|
||||
variable "vnet_cidr_ipv6" {
|
||||
type = string
|
||||
default = "fd7d:bb99:1da4::/48"
|
||||
}
|
||||
|
||||
variable "subnet_cidr_ipv4" {
|
||||
type = string
|
||||
default = "10.50.1.0/24"
|
||||
}
|
||||
|
||||
|
||||
variable "subnet_cidr_ipv6" {
|
||||
type = string
|
||||
default = "fd7d:bb99:1da4:195::/64"
|
||||
}
|
||||
|
||||
variable "allowed_ssh_cidrs_ipv4" {
|
||||
type = list(string)
|
||||
description = "IPv4 CIDRs allowed to SSH (22/tcp). Empty list means allow from anywhere."
|
||||
default = []
|
||||
}
|
||||
Reference in New Issue
Block a user