mirror of
https://github.com/Sea-Haven-Industries/syslog-server.git
synced 2026-10-01 11:43:15 +00:00
23 lines
811 B
Terraform
23 lines
811 B
Terraform
|
|
variable "aws_region" {
|
||
|
|
description = "Region every resource in this configuration is created in."
|
||
|
|
type = string
|
||
|
|
default = "us-east-1"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "ami_id" {
|
||
|
|
description = "Pinned Amazon Linux 2023 arm64 AMI. Changing this replaces the instance."
|
||
|
|
type = string
|
||
|
|
default = "ami-02c114835b4e7739f"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "no_logs_treat_missing_data" {
|
||
|
|
description = "CloudWatch treat_missing_data for Syslog-NoIncomingLogs. Keep notBreaching until UniFi points at the new EIP, then set breaching."
|
||
|
|
type = string
|
||
|
|
default = "notBreaching"
|
||
|
|
|
||
|
|
validation {
|
||
|
|
condition = contains(["breaching", "notBreaching", "ignore", "missing"], var.no_logs_treat_missing_data)
|
||
|
|
error_message = "no_logs_treat_missing_data must be breaching, notBreaching, ignore, or missing."
|
||
|
|
}
|
||
|
|
}
|