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." } }