✨ Add initial Terraform configuration for Azure and Proxmox resources
This commit is contained in:
27
modules/pip/variables.tf
Normal file
27
modules/pip/variables.tf
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user