mirror of
https://github.com/Sea-Haven-Industries/syslog-server.git
synced 2026-09-30 18:13:15 +00:00
Replace the public rsyslog-to-CloudWatch collector with Vector over a prod 10.40 IPsec VGW, Firehose, 90-day S3, Glue, and Athena.
22 lines
817 B
HCL
22 lines
817 B
HCL
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-NoIncomingRecords. Keep notBreaching until UniFi points at the private IP, 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."
|
|
}
|
|
}
|