Add CloudTrail delivery to CloudWatch Logs

This commit is contained in:
2026-11-15 01:42:07 +09:00
parent ff7221dd78
commit 7eded181e7
7 changed files with 170 additions and 1 deletions
@@ -62,6 +62,17 @@ variable "cloudtrail_is_multi_region" {
default = true
}
variable "cloudtrail_cloudwatch_logs" {
description = "CloudWatch Logs delivery settings for the CloudTrail trail. Omitted names are derived from name_prefix for isolated tests."
type = object({
log_group_name = optional(string)
retention_in_days = optional(number, 30)
role_name = optional(string)
policy_name = optional(string)
})
default = {}
}
variable "kms_alias_name" {
description = "Alias of the customer managed Vault key."
type = string