Add initial Terraform configuration for Azure and Proxmox resources

This commit is contained in:
2026-03-01 14:16:44 +02:00
parent 44d658745e
commit b11172504d
17 changed files with 869 additions and 0 deletions

27
modules/pip/variables.tf Normal file
View File

@@ -0,0 +1,27 @@
variable "http_url" {
description = "URL for echoip service to use."
type = string
default = "https://checkip.amazonaws.com"
validation {
condition = can(regex("https?://", var.http_url))
error_message = "The `http_url` variable must start either http:// or https://"
}
}
variable "http_request_headers" {
description = "HTTP headers to send with the request"
type = map(any)
default = {
Accept = "application/json"
}
}
variable "http_method" {
description = "HTTP method to use for the request"
type = string
default = "GET"
}