mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-25 10:40:02 +08:00
Co-authored-by: Steven Martin <stevenmartin@Stevens-MBP.fios-router.home>
88 lines
2.7 KiB
Terraform
88 lines
2.7 KiB
Terraform
variable "aws_region" {
|
|
description = "AWS region"
|
|
default = "us-west-2"
|
|
}
|
|
|
|
variable "sns_topic_name" {
|
|
description = "Name of the SNS topic used for publishing audit events"
|
|
}
|
|
|
|
variable "sqs_queue_name" {
|
|
description = "Name of the SQS queue used for subscription for audit events topic"
|
|
}
|
|
|
|
variable "sqs_dlq_name" {
|
|
description = "Name of the SQS Dead-Letter Queue used for handling unprocessable events"
|
|
}
|
|
|
|
variable "max_receive_count" {
|
|
description = "Number of times a message can be received before it is sent to the DLQ"
|
|
default = 10
|
|
}
|
|
|
|
variable "kms_key_alias" {
|
|
description = "The alias of a custom KMS key"
|
|
}
|
|
|
|
variable "long_term_bucket_name" {
|
|
description = "Name of the long term storage bucket used for storing audit events"
|
|
}
|
|
|
|
variable "transient_bucket_name" {
|
|
description = "Name of the transient storage bucket used for storing query results and large events payloads"
|
|
}
|
|
|
|
variable "database_name" {
|
|
description = "Name of Glue database"
|
|
}
|
|
|
|
variable "table_name" {
|
|
description = "Name of Glue table"
|
|
}
|
|
|
|
variable "workgroup" {
|
|
description = "Name of Athena workgroup"
|
|
}
|
|
|
|
variable "workgroup_max_scanned_bytes_per_query" {
|
|
description = "Limit per query of max scanned bytes"
|
|
default = 1073741824 # 1GB
|
|
}
|
|
|
|
# search_event_limiter variables allows to configured rate limit on top of
|
|
# search events API to prevent increasing costs in case of aggressive use of API.
|
|
# In current version Athena Audit logger is not prepared for polling of API.
|
|
# Burst=20, time=1m and amount=5, means that you can do 20 requests without any
|
|
# throttling, next requests will be throttled, and tokens will be filled to
|
|
# rate limit bucket at amount 5 every 1m.
|
|
variable "search_event_limiter_burst" {
|
|
description = "Number of tokens available for rate limit used on top of search event API"
|
|
default = 20
|
|
}
|
|
|
|
variable "search_event_limiter_time" {
|
|
description = "Duration between the addition of tokens to the bucket for rate limit used on top of search event API"
|
|
default = "1m"
|
|
}
|
|
|
|
variable "search_event_limiter_amount" {
|
|
description = "Number of tokens added to the bucket during specific interval for rate limit used on top of search event API"
|
|
default = 5
|
|
}
|
|
|
|
variable "access_monitoring_trusted_relationship_role_arn" {
|
|
description = "AWS Role ARN that will be used to configure trusted relationship between provided role and Access Monitoring role allowing to assume Access Monitoring role by the provided role"
|
|
default = ""
|
|
}
|
|
|
|
variable "access_monitoring" {
|
|
description = "Enabled Access Monitoring"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "access_monitoring_prefix" {
|
|
description = "Prefix for resources created by Access Monitoring"
|
|
default = ""
|
|
}
|